-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parser features for 7.14.0 #13098
Parser features for 7.14.0 #13098
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/45643/ |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 52a59b1:
|
9571427
to
13d1014
Compare
Should we mention about error code at parser doc? |
Yeah that's a good idea! |
23693e2
to
b1381d1
Compare
ba0a3e4
to
43557e9
Compare
So strange...Why did my commits disappear? /cc @JLHwung |
Uh probably an error while rebasing... I have a local copy of this branch before the last rebase, I can restore them this evening. |
43557e9
to
4d58f86
Compare
4d58f86
to
654ab5a
Compare
0512869
to
a9f5e07
Compare
* support TS 4.3 `override` syntax in class * fix types * fix types * tweak error message * update TypeScript commit * split tests * add more tests * update allowlist * disallow `override` with `declare` * disallow `override` in non-sub class * update TypeScript allowlist * rename error message key * add more tests
Co-authored-by: Nicolò Ribaudo <[email protected]>
* feat: materialize class features * chore: move testcases to es2022 * chore: update test fixtures * chore: remove classPr\w+ from options.json * chore: remove empty options.json * update flow test allowlist * update typescript allowlist
* Parse string epxort names by default (`moduleStringNames`) * Remove remaining references
a9f5e07
to
3c7aeb3
Compare
* [ts] Enforce order for the `override` modifier * generator * Add more checks * Update TS tests
SplitUnexpectedKeyword
error for contextual keywords - Introduce parser error codes #13033 (comment)override
syntax in class #13097)@babel/parser
. #13175)moduleStringNames
) (Parse string export names by default (moduleStringNames
) #13195)override
modifier #13209)