Repository navigation
Conversation
| @@ -2,7 +2,7 @@ | |||
| "type": "File", | |||
| "start":0,"end":19,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":19}}, | |||
| "errors": [ | |||
| "SyntaxError: `new.target` can only be used in functions. or class properties (1:8)" | |||
| "SyntaxError: `new.target` can only be used in functions or class properties. (1:8)" | |||
There was a problem hiding this comment.
Also fixed unexpected . in the error messages lol.
|
Can you remove the plugins from the moved |
|
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/45401/ |
|
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 e703c47:
|
| @@ -1,3 +0,0 @@ | |||
| { | |||
There was a problem hiding this comment.
This commit is created from https://gist.github.com/JLHwung/970c52d63fd3b5ee14e3ada1cd227d33
4d58f86 to
654ab5a
Compare
f071f02 to
92baa7f
Compare
nicolo-ribaudo
left a comment
There was a problem hiding this comment.
(There is a prettier error)
92baa7f to
4864069
Compare
|
@nicolo-ribaudo fixed in 00f84db |
| @@ -0,0 +1,63 @@ | |||
| { | |||
There was a problem hiding this comment.
oh I would of expected these tests to be duplicated given they used to throw with the enable parser plugin error (and thus wouldn't be testing the syntax but the plugin), but I guess they are unique actually? Like we would of had a test for asi that didn't throw as well, so you could delete this one.
* 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
* 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
* 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
* 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
* 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
* 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
The following parser plugins will be materialized in Babel 7.14
classPropertiesclassPrivatePropertiesclassPrivateMethods