Skip to content

Commit 2d5aa72

Browse files
committed
sync latest syntax
1 parent f8d1d3a commit 2d5aa72

File tree

7 files changed

+278
-136
lines changed

7 files changed

+278
-136
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,22 @@
2424

2525
#### :bug: Bug Fix
2626

27+
- Fix issue where uncurried async functions were emitted without `async` https://github.com/rescript-lang/rescript-compiler/pull/5718
2728
- Fix location issue in error messages with JSX V4 where the multiple props types are defined https://github.com/rescript-lang/syntax/pull/655
2829
- Fix location issue in make function in JSX V4 that breaks dead code elimination https://github.com/rescript-lang/syntax/pull/660
2930
- Fix parsing (hence pretty printing) of expressions with underscore `_` and comments.
30-
- Fix issue where uncurried async functions were emitted without `async` https://github.com/rescript-lang/rescript-compiler/pull/5718
31+
- Fix printing of comments inside JSX tag https://github.com/rescript-lang/syntax/pull/664
32+
- Fix issue where formatter erases tail comments inside JSX tag https://github.com/rescript-lang/syntax/issues/663
33+
- Fix issue where the JSX prop has type annotation of the first class module https://github.com/rescript-lang/syntax/pull/666
34+
35+
#### :eyeglasses: Spec Compliance
36+
37+
- Functions with consecutive dots now print as multiple arrow functions like in JavaScript.
3138

3239
#### :nail_care: Polish
3340

3441
- Add `loading`, `aria-*` DOM element attributes in `JsxDOM.domProps`: `ariaCurrent`, `ariaInvalid`, `ariaAutocomplete`, etc.
42+
- Change the internal representation of props for the lowercase components to record. https://github.com/rescript-lang/syntax/pull/665
3543

3644
# 10.1.0-alpha.2
3745

jscomp/main/builtin_cmi_datasets.ml

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

jscomp/napkin/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@
3131
- Fix location issue in error messages with JSX V4 where the multiple props types are defined https://github.com/rescript-lang/syntax/pull/655
3232
- Fix location issue in make function in JSX V4 that breaks dead code elimination https://github.com/rescript-lang/syntax/pull/660
3333
- Fix parsing (hence pretty printing) of expressions with underscore `_` and comments.
34+
- Fix printing of comments inside JSX tag https://github.com/rescript-lang/syntax/pull/664
35+
- Fix issue where formatter erases tail comments inside JSX tag https://github.com/rescript-lang/syntax/issues/663
36+
- Fix issue where the JSX prop has type annotation of the first class module https://github.com/rescript-lang/syntax/pull/666
37+
38+
#### :eyeglasses: Spec Compliance
39+
40+
- Functions with consecutive dots now print as multiple arrow functions like in JavaScript.
41+
42+
#### :nail_care Polish
43+
44+
- Change the internal representation of props for the lowercase components to record. https://github.com/rescript-lang/syntax/pull/665
3445

3546
## ReScript 10.0
3647

lib/4.06.1/unstable/js_compiler.ml

Lines changed: 85 additions & 44 deletions
Large diffs are not rendered by default.

lib/4.06.1/unstable/js_playground_compiler.ml

Lines changed: 85 additions & 44 deletions
Large diffs are not rendered by default.

lib/4.06.1/whole_compiler.ml

Lines changed: 85 additions & 44 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)