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

[Help wanted] Improving "Somewhere wanted" error messages

$
0
0

Came across this error where my function expects a tuple, but I pass two args instead. It’s hard to catch and tuples aren’t a common datatype in js.
I think it could be helpful to add a suggestion to this error.
Maybe you meant to use a tuple? ((a', b'))


Viewing all articles
Browse latest Browse all 1948

Trending Articles