Cristiano Calcagno

Results 83 issues of Cristiano Calcagno

Tried on mac, latest vscode and plugin. Noticed on a real production file of about 1000 lines. Repro: open page.re https://gist.github.com/cristianoc/1b4ab0608ed61958958cdcdbae04113d Reformat, and get error: ``` events.js:160 throw er; //...

A-formatting
C-server-bug
E-medium
I-crash
P-high
S-investigating

Works for this: ```res type myDict = {name?:string, anyOtherField?: int} let tst = (d: myDict) => switch d { | {name:n, something:i} => String.length(n) + i | {name:n} => String.length(n)...

### Discussed in https://github.com/rescript-lang/rescript-compiler/discussions/6273 Originally posted by **glennsl** May 28, 2023 I've been trying to model GeoJSON using rescript@11 types, just to see if I can, and am stumbling on...

enhancement

## Explore a cleaner way to represent ReScript modules in TypeScript using namespaces ### Background In ReScript, modules are used to organize code and encapsulate related types and values. ReScript...

Proof of Concept

The scope of `var` is per-function, requiring a transformation for closures inside loops when capturing loop variables. This PR turns off the transformation. This PR should go after https://github.com/rescript-lang/rescript-compiler/pull/6102

Fixes https://github.com/rescript-lang/rescript-compiler/issues/856 - Need to check that no cases are missed where this could introduce regressions even if the tests appear to be passing - This will generate a huge...

Extends command "Find All References".

Based on https://github.com/rescript-lang/rescript-vscode/pull/777 but where unhurried is turned off.