diff options
author | Son Ho | 2023-11-21 17:24:50 +0100 |
---|---|---|
committer | Son Ho | 2023-11-21 17:24:50 +0100 |
commit | b916f696c5265dc4f5af4a67b118b005a7ed8612 (patch) | |
tree | 671dd4b1f207dc7bce18060af86dc92013b2e3d9 /compiler/Main.ml | |
parent | 137cc7335e64fcb70c254e7fd2a6fa353fb43e61 (diff) |
Reorganize the "Extract" files
Diffstat (limited to 'compiler/Main.ml')
-rw-r--r-- | compiler/Main.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/Main.ml b/compiler/Main.ml index 0daf454d..e350da8a 100644 --- a/compiler/Main.ml +++ b/compiler/Main.ml @@ -178,7 +178,10 @@ let () = log#error "The Lean backend doesn't support the -use-fuel option"; fail ()); (* Lean can disambiguate the field names *) - record_fields_short_names := true + record_fields_short_names := true; + (* We exploit the fact that the variant name should always be + prefixed with the type name to prevent collisions *) + variant_concatenate_type_name := false | HOL4 -> (* We don't support fuel for the HOL4 backend *) if !use_fuel then ( |