rescript-compiler
rescript-compiler copied to clipboard
The compiler for ReScript.
This line is 105 characters long so it should break before the `->LongModuleName.longFunctionName`, but it does not. ```res (LongModuleName.makeNoParams() :> LongModuleName.subTypeOfLongTypeName)->LongModuleName.longFunctionName ``` This one breaks between the parameters of the...
https://rescript-lang.org/try?version=v12.0.0-rc.3&module=esmodule&code=DYUwLgBAhhC8EFIBOUDuAKABgbQLqYEoBaAPgCkBnAOgCUQqBbKMAYwAsQKAoL0SAIziIUGHPmIk6AcwCiADwAOtTgFdgYRs3acgA The automated migration results in a different output, which was very difficult to trace in my case. I spent around 4 hours today (mostly because the issue wasn't reproducing...
This bootstrap a simple MCP for ReScript, through Rewatch. Initially it adds a single command `diagnose`, which will run quick diagnostics for a single file. Diagnostics here means that we'll...
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 3.14.2. Changelog Sourced from js-yaml's changelog. [3.14.2] - 2025-11-15 Security Backported v4.1.1 fix to v3 [4.1.1] - 2025-11-12 Security Fix prototype pollution issue in yaml...
Bumps [glob](https://github.com/isaacs/node-glob) from 11.0.1 to 11.1.0. Changelog Sourced from glob's changelog. changeglob 12 Remove the unsafe --shell option. The --shell option is now ONLY supported on known shells where the...
1. In my example the deprecated warning and migration will only happen for `external` functions. I'd expect this to also work with top-level `let` functions. 2. The migration will not...
Fix https://github.com/rescript-lang/rescript/issues/7961 The formatting of the transformed JSX forces multiline for props with this change. However, I think this is fine because users won't actually see the transformed JSX anyways.
When I run `make test-analysis` locally, I get ``` make -C tests/analysis_tests clean test make -C tests clean yarn clean WARN: Package name mismatch for /Users/christoph/projects/cca/rescript/tests/analysis_tests/tests: The package.json name is...
`Js_OO` is an old internal thing that's still used by the `@this` attribute. We should find a way to get rid of it in favor of something more idiomatic.