diff options
author | Guillaume Boisseau | 2024-06-21 16:25:54 +0200 |
---|---|---|
committer | GitHub | 2024-06-21 16:25:54 +0200 |
commit | f264b9dcc6331eb9149d951f308cdc61c8c02801 (patch) | |
tree | 2891753ba71bc8ddd3cc367b787a1acddbcf1741 /compiler/Translate.ml | |
parent | c8ad44f287215c3c45e5a0f0540ef507b4916c7d (diff) | |
parent | d3f52e23ede39c4fd7845b6c5feb29d28b2a2384 (diff) |
Merge pull request #254 from Nadrieril/declarationgroup-mixed
Diffstat (limited to '')
-rw-r--r-- | compiler/Translate.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/Translate.ml b/compiler/Translate.ml index 23c0782a..0474d233 100644 --- a/compiler/Translate.ml +++ b/compiler/Translate.ml @@ -820,6 +820,9 @@ let extract_definitions (fmt : Format.formatter) (config : gen_config) | TraitImplGroup id -> if config.extract_trait_impls && config.extract_transparent then export_trait_impl id + | MixedGroup _ -> + craise_opt_span __FILE__ __LINE__ None + "Mixed-recursive declaration groups are not supported" in (* If we need to export the state type: we try to export it after we defined |