summaryrefslogtreecommitdiff
path: root/compiler/Translate.ml
diff options
context:
space:
mode:
authorNadrieril2024-06-21 15:47:56 +0200
committerNadrieril2024-06-21 16:14:58 +0200
commitd3f52e23ede39c4fd7845b6c5feb29d28b2a2384 (patch)
tree2891753ba71bc8ddd3cc367b787a1acddbcf1741 /compiler/Translate.ml
parentc8ad44f287215c3c45e5a0f0540ef507b4916c7d (diff)
Update charon
Diffstat (limited to 'compiler/Translate.ml')
-rw-r--r--compiler/Translate.ml3
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