diff options
author | Guillaume Boisseau | 2024-06-06 09:46:19 +0200 |
---|---|---|
committer | GitHub | 2024-06-06 09:46:19 +0200 |
commit | 73e27b142b65ec37fbbc55a5a7d0299555b2b60b (patch) | |
tree | fe3f354c716c17f217da7ec15a5d4630f5390d2e /compiler/InterpreterExpansion.ml | |
parent | 961cc880311aed3319b08755c5a43816e2490d7f (diff) | |
parent | 7f2b8bf304f9c21f34c4be44a087cc15c56d6b07 (diff) |
Merge pull request #232 from Nadrieril/type-alias
Diffstat (limited to '')
-rw-r--r-- | compiler/InterpreterExpansion.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/InterpreterExpansion.ml b/compiler/InterpreterExpansion.ml index 41190618..1690aa80 100644 --- a/compiler/InterpreterExpansion.ml +++ b/compiler/InterpreterExpansion.ml @@ -648,9 +648,9 @@ let greedy_expand_symbolics_with_borrows (config : config) (span : Meta.span) : 1 variants (option [greedy_expand_symbolics_with_borrows] \ of [config]): " ^ name_to_string ctx def.name) - | Opaque -> + | Alias _ | Opaque -> craise __FILE__ __LINE__ span - "Attempted to greedily expand an opaque type"); + "Attempted to greedily expand an alias or opaque type"); (* Also, we need to check if the definition is recursive *) if ctx_type_decl_is_rec ctx def_id then craise __FILE__ __LINE__ span |