Cristiano Calcagno

Results 74 issues of Cristiano Calcagno

Related: https://github.com/rescript-lang/rescript-compiler/issues/5557

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

E.g. `let c = '❤️'` gives ``` FAILED: src/DocComments.ast Syntax error! /Users/cristianocalcagno/GitHub/rescript-vscode/analysis/tests/src/DocComments.res:1:8-9 1 │ let c = '❤️' 2 │ This let-binding misses an expression Syntax error! /Users/cristianocalcagno/GitHub/rescript-vscode/analysis/tests/src/DocComments.res:1:10 1 │...

Does it make sense to explore the if-let syntax more seriously? Here's some imaginary example where several different language features could be handled at the same time: https://github.com/cristianoc/rescript-compiler-experiments/pull/1/files#diff-81c7d8224cb32d4696c8931f3c4fa65fd0e1a0b036e6fe9b4fffd730d86d3412R176 Basic, non-nested...

There is currently no way to represent an empty record with optional fields. The V4 PPX gets around this by adding `key` to every record, so the empty record is...

This is the normal behaviour: no change. When turned off, only the top dead things, and not the transitive ones, are reported.

Present a compact cheat sheet for decorators relevant for code generation. Here's a list of all decorators. Irrelevant ones to be removed: - ~@@deprecated~ - ~@@warning~ - [x] @as only...

Here are the verbatim release notes as of Sep 27: for each item, need to evaluate whether some doc update is required. Ticked means: either not necessary, or doc updated....

Looks like this is missing in the documentation. ```rescript @module("library-x") @val external doStuff: (@as(json`{format:"utf8", includeStuff: false}`) _, string) => string = "doStuff" let fileContents = doStuff("somefilename.txt") // Compiles to: //...