We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let v = 1e
emits
var v = 1e; export { v , }
which is invalid in JS.
The text was updated successfully, but these errors were encountered:
Same for
let v = 1e_
(or similar with any number of underscores)
Sorry, something went wrong.
BTW, also a bit weird (but all valid JS):
ReScript JS let v = 1 let v = 1; let v = 1. let v = 1; let v = 1._ let v = 1.; let v = 1.0 let v = 1.0;
BTW, also a bit weird (but all valid JS): ReScript JS let v = 1 let v = 1; let v = 1. let v = 1; let v = 1._ let v = 1.; let v = 1.0 let v = 1.0;
I think the correct resolution is
let v = 1 let v = 1.0 // syntax error let v = 1.0
Agreed!
Also, at the moment, you can basically do whatever you want underscore-wise, e.g.
let x = 1_________0_______.____2_____3
compiles to
let x = 10.23;
(FWIW this seems to be the case in OCaml, too.)
Lol, that's how we supported (superset of?) JS numeric separators
shulhi
Successfully merging a pull request may close this issue.
emits
which is invalid in JS.
The text was updated successfully, but these errors were encountered: