Open feihong opened 8 months ago
Js.log("45" |> (++)(_, "%"));
Turns into
Js.log("45" |> _ ++ "%");
Which doesn't compile.
Melange playground link
Note that if it's not an operator, it's fine. For example, this won't get mangled:
Js.log("45" |> String.cat(_, "%"));
Turns into
Which doesn't compile.
Melange playground link
Note that if it's not an operator, it's fine. For example, this won't get mangled: