This gives me compilation error:
let n: float = -9.9
-n->Js.log
The following gives me runtime error:
let n: float = -9.9
-.n->Js.log
It emits console.log(--9.9);
in JS.
Is it a bug?
This gives me compilation error:
let n: float = -9.9
-n->Js.log
The following gives me runtime error:
let n: float = -9.9
-.n->Js.log
It emits console.log(--9.9);
in JS.
Is it a bug?
Would you create an issue in the compiler repo?