Open aspeddro opened 1 year ago
Tracking ReScript v11 syntax changes:
[x] Extensible records (e.g. type t = {...t1, x:int, ...t2} https://github.com/rescript-lang/rescript-compiler/issues/5659
t = {...t1, x:int, ...t2}
[x] Partial application of uncurried functions: foo(1, ...) https://github.com/rescript-lang/rescript-compiler/pull/6166
foo(1, ...)
[x] Dynamic Import module M = await Belt.Array https://github.com/rescript-lang/rescript-compiler/pull/5703
module M = await Belt.Array
[ ] Variant type spreads type bb = | ...aa | Three | Four https://github.com/rescript-lang/rescript-compiler/pull/6316
type bb = | ...aa | Three | Four
[ ] Tagged template literals sqlselect * from table
sqlselect * from table
select * from table
assert
**
What about tagged template literals?
Tracking ReScript v11 syntax changes:
[x] Extensible records (e.g. type
t = {...t1, x:int, ...t2}
https://github.com/rescript-lang/rescript-compiler/issues/5659[x] Partial application of uncurried functions:
foo(1, ...)
https://github.com/rescript-lang/rescript-compiler/pull/6166[x] Dynamic Import
module M = await Belt.Array
https://github.com/rescript-lang/rescript-compiler/pull/5703[ ] Variant type spreads
type bb = | ...aa | Three | Four
https://github.com/rescript-lang/rescript-compiler/pull/6316[ ] Tagged template literals
sql
select * from table
Some notes:
assert
is parsed as a regular function https://github.com/rescript-lang/rescript-compiler/pull/6180**
is now right-associative.