Commit ae6a9770 authored by Alain Mebsout's avatar Alain Mebsout Committed by Benjamin Canou

Michelson: disable typechecking of field names through annotations

This is not compatible with the inferring mechanism for annotations in
parent c8dd9398
......@@ -758,7 +758,9 @@ let merge_field_annot
| Some `Field_annot a1, Some `Field_annot a2 ->
if String.equal a1 a2
then ok annot1
else error (Inconsistent_annotations ("%" ^ a1, "%" ^ a2))
else ok None
(* TODO check this, do we want typechecking here ? *)
(* error (Inconsistent_annotations ("%" ^ a1, "%" ^ a2)) *)
let merge_var_annot
: var_annot option -> var_annot option -> var_annot option
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment