Skip to content
New issue

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

Not helpful error message when doing a typo in labeled arguments #6748

Open
DZakh opened this issue Apr 29, 2024 · 0 comments
Open

Not helpful error message when doing a typo in labeled arguments #6748

DZakh opened this issue Apr 29, 2024 · 0 comments

Comments

@DZakh
Copy link
Contributor

DZakh commented Apr 29, 2024

https://rescript-lang.org/try?version=v11.1.0&code=DYUwLgBA5uBcEAoBQEIHsAOYCWaB2APAOQBuAhsAK4gB8ANChAH4BmFwARmQMYDW8pCtQC8AfgaomAExAkAYuy58B5KiDEMAlBGE0IgtTsRkATlAAMdZm2CcevDcxnzF9sdt0QApCbIB3BAAiPEpbQM0kJAApAGcAOmA0KGRUGDAU1AhAmKkWQIBaGgBJPDA4lhM0AFsAZTATbDwoQoB5LFw8OKqyDAQAfR09QLJc8IlM6RAWBVslB2zR8ckbOz5hBbzxzS0kIA

The issue was caused by the type defFallback->devFallback. It took me around 20 minutes to figure out what was wrong. I think the error might be better in uncurried mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant