| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| break; | ||
| } | ||
| if (!isPrologueDirective(statement) && nodeImmediatelyReferencesSuperOrThis(statement)) { | ||
| if (nodeImmediatelyReferencesSuperOrThis(statement)) { |
There was a problem hiding this comment.
This change isn't necessary for the PR; I just had only noticed the check is unnecessary after #29374 was merged 😄
Sorry, something went wrong.
| const indexAfterLastPrologueStatement = factory.copyPrologue(body.statements, statements, /*ensureUseStrict*/ false, visitor); | ||
| const superStatementIndex = findSuperStatementIndex(body.statements, indexAfterLastPrologueStatement); | ||
| const prologueStatementCount = factory.copyPrologue(body.statements, statements, /*ensureUseStrict*/ false, visitor); | ||
| const superStatementIndex = findSuperStatementIndex(body.statements, prologueStatementCount); |
There was a problem hiding this comment.
I'm nitpicking the variable name here. Both variable names are correct; prologueStatementCount just makes more sense to me -- especially in the context of the new array spread below.
Sorry, something went wrong.
|
Thanks for fixing this! |
Sorry, something went wrong.
|
TypeScript Bot (@typescript-bot) cherry-pick this to release-4.6 |
Sorry, something went wrong.
|
Heya Jake Bailey (@jakebailey), I've started to run the task to cherry-pick this into release-4.6 on this PR at 76f482f. You can monitor the build here. |
Sorry, something went wrong.
|
Hey Jake Bailey (@jakebailey), I couldn't open a PR with the cherry-pick. (You can check the log here). You may need to squash and pick this PR into release-4.6 manually. |
Sorry, something went wrong.
|
Sent #48782 manually. This PR is needed for the other PRs thanks to this PR affecting the base ts.ts transform. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Two issues:
Fixes #48671