The following code on playground raises error in OCAML region and so does not get evaluated.
let x = {js|स्थान|js};
Js.log(x)
The following code on playground raises error in OCAML region and so does not get evaluated.
let x = {js|स्थान|js};
Js.log(x)
Looks like any Unicode character is triggering this, e.g. {j|🔥|j}
.
I recommend filing a bug, but not sure which repo exactly. Probably https://github.com/facebook/reason
@chenglou can you confirm that’s the correct repo for this bug?
Yeah sorry, this is a known issue: https://github.com/reasonml/reasonml.github.io/issues/280
This should work but I think the jsoo compiled bs compiler has some trouble with unicode…