rescript-compiler
rescript-compiler copied to clipboard
The compiler for ReScript.
I know that's not a valid module name. Nonetheless, lowercase filenames build fine and are not treated as modules. I expect the same behavior for hyphenated filenames. Hyphenated filenames are...
Given we want to be able to provide better integration with existing JS frameworks to provide guided stories, the following blockers for NextJS should be (re-)assessed: 1. Exotic filenames: Right...
I have this case https://rescript-lang.org/try?version=v11.0.1&code=C4TwDgpgBAThDGB7GATKBeKBvAZgSwgBsUAuKAZ2BjwDsBzAXwCgnCJgocaMoAKAfTKIwwPIhoAeOElQA+AJQZZfeSwD0aqABUAFnnJQdAQwNGodRIjQQYMZFAC2EcuSN0IZXdHxE0OS1AoiM5QNIgcAEZE4nRQwIhx4NDSyChMGpw0vADKiE68uJZkAEQRRjDFDPKq6ZoA6npscXoGQc40AOQccEaEhCCGRGCeOskIqZwExJwB8Eadkd6IAK40KAB0tVAAks20ANZQAO7Q5Dor01FQRhFN8VDwo-CHwMYcr-pQn6-QAAbConEUnGcl+iUgUCi-jgcRgIFosXuSAcYDwd1GsBBaS4BX8iBKZQqVSYQA I think the error message might be improved. I get the problem quite often while working with types from other modules, and it's difficult to...
Proposes a new type of GenType that is incompatible with the existing GenType (will probably have the name GenType v2 or something quite different) ### Motivation GenType is a must...
input: ```res @genType include RescriptCore ``` error: ``` FAILED: src/Core.cmj Fatal error: exception File "jscomp/gentype/TypeVars.ml", line 14, characters 16-22: Assertion failed ```
…when possible. A Dict is obviously a JS object at runtime, but there has been no way to create a dict in a way that compiles to a regular JS...
### Motivation Deciding on the module format is one of the most important parts of getting a JavaScript library published on NPM. A leaf project usually uses only one format,...
Sorry if I used the incorrect terminology in the title. I have a type `t` and when a function type is used as the `'listener` the `'ty` doesn't seem to...