diff options
author | Son Ho | 2024-03-29 16:23:03 +0100 |
---|---|---|
committer | Son Ho | 2024-03-29 16:23:03 +0100 |
commit | 16bebef339ee390b77e5b5505126aba74019a8f8 (patch) | |
tree | 571e0e416c71e43cf7068bc2fc3ccd0aec760405 /compiler | |
parent | 5809c45fbbfcbb78b15a97be619dcde4ab4868b8 (diff) |
Add an error message
Diffstat (limited to '')
-rw-r--r-- | compiler/Contexts.ml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/Contexts.ml b/compiler/Contexts.ml index edda4260..0a62f5ef 100644 --- a/compiler/Contexts.ml +++ b/compiler/Contexts.ml @@ -404,9 +404,7 @@ let ctx_push_vars (meta : Meta.meta) (ctx : eval_ctx) (fun (var, (value : typed_value)) -> TypesUtils.ty_is_ety var.var_ty && var.var_ty = value.ty) vars) - meta - "The pushed variables and their values do not have the same type TODO: \ - Error message"; + meta "The pushed variables and their values do not have the same type"; let vars = List.map (fun (var, value) -> EBinding (BVar (var_to_binder var), value)) |