Closed tsnobip closed 12 months ago
I love genType but this issue has bitten us on so many occasions, it's super painful. Maybe we can find some time to contribute a fix.
This repository is being archived. If you feel like the issue still relevant, please re-create it in the compiler repo. Thanks!
produces the following JS:
But GenType doesn't seem to know about the name mangling and produces this:
Which inevitably produces an error
The same thing happens if you name your module
Error
.edit: this seems to happen for all the words from rescript keyword list.