Don't create TSParenthesizedType when `createParenthesizedExpressio…#11200
Don't create TSParenthesizedType when `createParenthesizedExpressio…#11200smelukov wants to merge 4 commits intobabel:next-8-devfrom
TSParenthesizedType when `createParenthesizedExpressio…#11200Conversation
|
The first failure ( The second one ( |
|
Could you rebase this PR? We have merged the commit from your other PR to the |
cdacd37 to
f4f899d
Compare
|
@nicolo-ribaudo done |
nicolo-ribaudo
left a comment
There was a problem hiding this comment.
Thanks!
The failed e2e test would be fixed by rebasing.
3cd7554 to
4b1c5f5
Compare
|
rebased ✅ |
|
I think there might be one remaining failure, because Other than that, looks great! |
| case tt.parenL: | ||
| if (!this.options.createParenthesizedExpressions) { | ||
| const startPos = this.state.start; | ||
| this.expect(tt.parenL); |
There was a problem hiding this comment.
| this.expect(tt.parenL); | |
| this.next(); |
The switch case has implied this.match(tt.parenL).
|
Merged at 62290aa |
…ns` disabled (#9546)