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

Version: `11.0.0-rc.6` Create a file `Foo.res` with the following content: ```res @unboxed type href = String(string) | Number(int) // This works let href = Number(1); /** This doesn't compile. Fatal...

``` @deriving(accessors) type msg = | ShowToast(string, toast) | EnterToast(string) | ExitToast(string) | RemoveToast(string) ``` This way it's not possible to pass a `showToast` to a function callback. I'm personally...

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.8.6 to 7.23.2. Release notes Sourced from @​babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...

dependencies

https://github.com/rescript-lang/rescript-compiler/pull/6414 Regarding the above PR, it appears that the cause of the CI test (ciTest.js) failing is related to the fixture filename. For example, for a file name like `curried_value_instead_of...

Note: This proposal is not related to the custom infix operators. Just improves the ergonomics of the `+` operator for built-in types. One of the most awkward parts of introducing...

Status: WIP. More research is required to complete this RFC. This aims to simplify the current configuration schema and its parsing. Trying to explain its specifics and how to achieve...

This is an umbrella issue to track and discusses the remaining issues to be resolved to achieve "Library Mode" The "Library Mode" means that the ReScript compiler can be adopted...

This snippet is somehow causing an infinite loop in VS Code extension and watch command. The build file is getting deleted and created repetitively. ```rescript @@directive("'use client'") @module("next/[redacted]") external [Redacted]:...

Currently gentype doesn't seem to preserve JSDoc format in the output. I think it's a bug. input: ```res /** * Test */ @genType type test = { foo: int }...

https://rescript-lang.org/try?version=v11.0.0-beta.4&code=C4TwDgpgBKkHIEMC20C8UDaAoKUA+UAxAM7ABOAlgHYDmO+RVArkgEYRn0GHXAQ0cuRVgHsRAGwgIqQwiNYArCAGNgshGTIIQs5uPFYAuliwABJlVEAPCABMssaI4D6UdAGVqNSQApHiFABKBgBBTW0fDS0QAB5-ZAgAPkCsIA ```res type typeName = [ | #string | #number | #integer | #boolean | #object | #array | #null ] @unboxed type type_ = Single(typeName) | Array(array) ```