Closed leostera closed 4 years ago
This OCaml:
match 0 with | 0 | 1 -> true | _ -> false
Should compile to this Erlang:
case 0 of 0 -> true; 1 -> true; _ -> false end
but compiles to this Erlang:
case 0 of _ -> true; _ -> false end
This is a bug somewhere in compiler/ocaml_to_erlang/fun.ml:L246-L258 -- and possible in the mk_pattern function of the same module.
mk_pattern
This OCaml:
Should compile to this Erlang:
but compiles to this Erlang:
This is a bug somewhere in compiler/ocaml_to_erlang/fun.ml:L246-L258 -- and possible in the
mk_pattern
function of the same module.