Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Error compiling @rescript/core with Rescript 11

$
0
0

Hey @zth thanks for the reply! I tested and it indeed seems to work, but it’s outputting another error now:

I’m not sure if uncurried changed something about optional parameters, but it seems not accepting the call that is done inside Core__Int.fromString where it calls the Core__Float.parseInt) without the radix.

Maybe we can benefit of the new syntax and instead of the switch we could do just Core__Float.parseInt(x, ~radix=?radix) or even Core__Float.parseInt(x, ~radix=radix) ?


Viewing all articles
Browse latest Browse all 2592

Trending Articles