We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5344a27 commit 9e42018Copy full SHA for 9e42018
interpreter/valid/valid.ml
@@ -652,7 +652,7 @@ let rec check_instr (c : context) (e : instr) (s : infer_result_type) : infer_in
652
in
653
let et = tag c y in
654
let FuncT (ts31, t) = func_type_of_tag_type c et y.at in
655
- require (match_result_type c.types [] ts31) y.at
+ require (ts31 = []) y.at
656
"type mismatch in switch tag";
657
require (match_result_type c.types ts12 t) y.at
658
"type mismatch in continuation types";
0 commit comments