You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(syntax/parser): add basic regexp literal support
* feat(syntax/printer): print regex extension in literal form
* test(syntax/jsx): remove test for broken recovery case
to be fixed later
* text(syntax/parsing): add regex literal tests
* test(syntax): use regex literal in test files
necessary to pass syntax roundtrip test since printing has changed
* refactor(others/js): use regex literals
* docs: add changelog entry
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
- Throws an instance of JavaScript's `new Error()` and adds the extension payload for `cause` option. https://github.com/rescript-lang/rescript-compiler/pull/6611
20
20
- Allow free vars in types for type coercion `e :> t`. https://github.com/rescript-lang/rescript-compiler/pull/6828
21
21
- Allow `private` in with constraints. https://github.com/rescript-lang/rescript-compiler/pull/6843
22
+
- Add regex literals as syntax sugar for `@bs.re`. https://github.com/rescript-lang/rescript-compiler/pull/6776
0 commit comments