issues Search Results · repo:rescript-lang/rescript language:ReScript
Filter by
2k results
(73 ms)2k results
inrescript-lang/rescript (press backspace or delete to remove)./cli/rescript.js build --help command print node warning 1335254
(node:1335254) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...
aspeddro
- 4
- Opened 23 hours ago
- #7372
BigInt.land, BigInt.lor, BigInt.xor, BigInt.lsl, BigInt.asr all not found in alpha.10. Worked in alpha.9 and prior.
let t0 = BigInt.land(1n, 0n)
output:
Type Errors
[E] Line 1, column 9:
The value land ...
dsiu
- 2
- Opened 5 days ago
- #7366
Consider this code:
let status =
json
- optional(field( status , string, _), _)
- Option.mapOr(Status.Active, Status.fromString)
after formatting some superfluous parens are added:
let status ...
fhammerschmidt
- Opened 14 days ago
- #7345
https://rescript-lang.org/try?version=v11.1.4 module=esmodule
code=C4TwDgpgBMULxQN4H1lgE4HtidQLigGdh0BLAOwHMBfAKFoClCA6AG00oAoU0sd8oAIgBmmTIOoBKWkA
It would be nice for compiler to prevent records creation ...
enhancement
DZakh
- 1
- Opened 15 days ago
- #7343
Example:
type myVariant = AAAAA | BBBBB
module MyComponent = {
@react.component
let make = (~x: myVariant) = (x : string)- React.string
}
MyComponent x=
Autcomplete correctly suggests AAAAA ...
editor
cknitt
- Opened 18 days ago
- #7341
Pervasives.max on a float type uses Primitive_bool.max in rescript 12
https://rescript-lang.org/try?version=v12.0.0-alpha.9 module=esmodule
code=DYUwLgBAhhC8EFYB0AGAUKSAjOEBsqaG4EAtrqVAB4AUUANBFgJRA
...
JonoPrest
- Opened 19 days ago
- #7332
Extend rescript.json with an editorconfig for autocompletion, e.g.
editor : {
autocompleteConfig : {
array : [ ArrayUtils ]
}
}
So that the methods of that module get autocompleted the same ...
editor
fhammerschmidt
- 2
- Opened 20 days ago
- #7329
This:
@send external reduce: (array b , ( a, b) = a, ~initialValue: a=?) = a = reduce
let reduce = (arr, initialValue, f) = reduce(arr, f, ~initialValue)
compiles fine:
function reduce(arr, ...
bug
cknitt
- 2
- Opened 24 days ago
- #7323
As described in https://github.com/rescript-lang/rescript/pull/7043#issue-2537532373
record duplication currently emits:
let newrecord = { ...obj };
newrecord.field = value;
It should be:
{ ...obj, ...
enhancement
cometkim
- Opened 25 days ago
- #7319
Both v11 and v12
https://rescript-lang.org/try?version=v12.0.0-alpha.9 module=esmodule
code=C4TwDgpgBA9gRgKwgY2FAvFA3gMxjALigGdgAnASwDsBzAXwCgABAVyrhgA8IATB0SFGABDGjV4YoAeUQpgACnhJUASigAfKADEq8thTToAfLFmqG-cNDIpTy4ACZJufEVKVajVuy4ThVHiFRcR4nTBl7RTNHNU0dPSoDDBMlOQcVBiA ...
DZakh
- 2
- Opened on Feb 22
- #7314

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.