diff options
author | Son Ho | 2023-12-05 16:01:30 +0100 |
---|---|---|
committer | Son Ho | 2023-12-05 16:01:30 +0100 |
commit | df3587d14b1137d0961f5607b3d8309eddbe69ce (patch) | |
tree | 30bae1933291f619d38b992297fa6a9c501112ef /compiler/Contexts.ml | |
parent | 60ce69b83cbd749781543bb16becb5357f0e1a0a (diff) |
Fix a minor issue with the use of const generics
Diffstat (limited to 'compiler/Contexts.ml')
-rw-r--r-- | compiler/Contexts.ml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/Contexts.ml b/compiler/Contexts.ml index bbfd31e6..a30ed0f1 100644 --- a/compiler/Contexts.ml +++ b/compiler/Contexts.ml @@ -241,7 +241,11 @@ type eval_ctx = { const_generic_vars_map : typed_value Types.ConstGenericVarId.Map.t; (** The map from const generic vars to their values. Those values can be symbolic values or concrete values (in the latter case: - if we run in interpreter mode) *) + if we run in interpreter mode). + + TODO: this is actually not used in symbolic mode, where we + directly introduce fresh symbolic values. + *) norm_trait_types : ty TraitTypeRefMap.t; (** The normalized trait types (a map from trait types to their representatives). Note that this doesn't take into account higher-order type constraints |