summaryrefslogtreecommitdiff
path: root/compiler/Config.ml
diff options
context:
space:
mode:
authorSon Ho2023-09-13 18:43:23 +0200
committerSon Ho2023-09-13 18:43:23 +0200
commitd556b2439ad858fbbf612f433d25363a8f4a7c83 (patch)
tree0767c27cc077c46d017834014f54f0c3abe25222 /compiler/Config.ml
parent78a2731924aa13989998c6be4a5a6865ce5098aa (diff)
Fix more issues
Diffstat (limited to '')
-rw-r--r--compiler/Config.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler/Config.ml b/compiler/Config.ml
index ccbb4c75..508746d9 100644
--- a/compiler/Config.ml
+++ b/compiler/Config.ml
@@ -331,3 +331,11 @@ let record_fields_short_names = ref false
and to account for type constraints (like [fn f<T : Foo>(...) where T::bar = usize]).
*)
let parameterize_trait_types = ref false
+
+(** For sanity check: type check the generated pure code (activates checks in
+ several places).
+
+ TODO: deactivated for now because we need to implement the normalization of
+ trait associated types in the pure code.
+ *)
+let type_check_pure_code = ref false