Repository navigation
Allow arrow function parameter parsing to bail out during speculation - #39014
Wesley Wigham (weswigham) wants to merge 1 commit into
Conversation
|
Impressive, almost every line of the change is now a conflict 👍🏻 |
| // And think that "(b =>" was actually a parenthesized arrow function with a missing | ||
| // close paren. | ||
| if (!fillSignature(SyntaxKind.ColonToken, isAsync, node) && !allowAmbiguity) { | ||
| if (!fillSignature(SyntaxKind.ColonToken, isAsync, node, allowAmbiguity) && !allowAmbiguity) { |
There was a problem hiding this comment.
I'm looking into rebasing this PR, I got reasonably far, but all of the signature stuff has been completely removed from the codebase - so I'm going to wait on this till our pairing session
|
Wesley Wigham (@weswigham) Do you want to pick this PR up again, or just close it? I also tried to sit down to rebase/merge main back in, but wasn't very successful. Might just need a redo (or you to fix it if you know the intent behind some of the changes). |
Allow some parser functions to return |
|
I'm going to close this in favor of #48493, if that's alright. This was a bit too hard to rebase on the branch so I did it by hand against |
Fixes #32914