Huáng Jùnliàng
|
ecfe20395b
|
spec: disable await binding identifier within static block (#12661)
|
2021-02-01 21:55:43 +01:00 |
|
Nicolò Ribaudo
|
8cf0a757d5
|
Recover from "missing semicolon" errors (#12437)
* Recover from "missing semicolon" errors
* Update other tests
* Fix flow
* Fix windows test
* Add back deleted test
|
2021-02-01 10:08:43 +01:00 |
|
Sosuke Suzuki
|
8fcba6eb55
|
Raise recoverable error for await expressions in sync functions (#12520)
|
2021-01-24 01:45:27 +01:00 |
|
Huáng Jùnliàng
|
2782a549e9
|
Refactor yield await classification (#12230)
* fix: incomplete ParamKind declaration
* refactor: add expression scope handler
* test: update test262 allowlist
* chore: cleanup
* fix: push expression scope for function body
* fix: push new expression scope for initializer and static block
* test: add more test cases
* fix flow error
* refactor: remove unecessary expression scope
* fix: parameter initializer error should not cross expression scope boundary
* chore: cleanup outdated comments
* fix: do not record async arrow error on ParameterDeclaration
* Update packages/babel-parser/src/util/expression-scope.js
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
* polish: clear ancestry declaration error on validate
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
|
2020-10-26 11:42:02 -04:00 |
|
Huáng Jùnliàng
|
3ccca88178
|
Parse class static block (#12079)
Co-authored-by: Brian Ng <bng412@gmail.com>
|
2020-10-14 21:16:24 +02:00 |
|