rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

The compiler for ReScript.

Results 500 rescript-compiler issues
Sort by recently updated
recently updated
newest added

Any new bug fixes until first real release will be merged onto this branch. Meanwhile, 10.1 features will be merged into master.

https://github.com/rescript-lang/rescript-compiler/pull/5585#issuecomment-1193084813

See e.g. https://github.com/rescript-lang/rescript-compiler/pull/5576

I'm wondering if it would be possible to implement the ["tail modulo constructor" transformation](https://v2.ocaml.org/manual/tail_mod_cons.html) that was added to recent OCaml versions. It allows some non-tail-recursive functions (e.g. the OCaml stdlib...

enhancement

See discussion in https://github.com/rescript-lang/syntax/pull/617#issuecomment-1192051188

This just cost me almost a day to figure out. I was upgrading and refactoring a large (ReScript) React Native app, and suddenly Metro Bundler was not picking up any...

See https://github.com/rescript-lang/rescript-compiler/pull/5537#discussion_r917510423

```rescript let isA = c => switch c { | 'a' => true } ``` produces this ``` // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; function isA(c)...

bug

- [x] Include bug fixes since beta (https://github.com/rescript-lang/rescript-compiler/pull/5544) - [x] Prepare detailed release notes. - [ ] Blog post on website. - [ ] Upgrading guide on website. - [...