Not helpful error message when doing a typo in labeled arguments
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.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Looks like this issue was fixed in v12.0.0-alpha.10: https://rescript-lang.org/try?version=v12.0.0-alpha.10&module=esmodule&code=DYUwLgBA5uBcEAoBQEIHsAOYCWaB2APAOQBuAhsAK4gB8ANChAH4BmFwARmQMYDW8pCtQC8AfgaomAExAkAYuy58B5KiDEMAlBGE0IgtTsRkATlAAMdZm2CcevDcxnzF9sdt0QApCbIB3BAAiPEpbQM0kJAApAGcAOmA0KGRUGDAU1AhAmKkWQIBaGgBJPDA4lhM0AFsAZTATbDwoQoB5LFw8OKqyDAQAfR09QLJc8IlM6RAWBVslB2zR8ckbOz5hBbzxzS0kIA
Yep. It's thanks to the uncurried mode 🔥
We'll be working on improving these error messages further soon.