Skip to content

Commit

Permalink
Update LKG
Browse files Browse the repository at this point in the history
  • Loading branch information
typescript-bot committed Mar 15, 2023
1 parent 0e765ac commit 3ec598c
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
5 changes: 4 additions & 1 deletion lib/tsc.js
Original file line number Diff line number Diff line change
Expand Up @@ -91029,8 +91029,11 @@ function transformESDecorators(context) {
false,
visitor
);
const superStatementIndex = findSuperStatementIndex(node.body.statements, nonPrologueStart);
const indexOfFirstStatementAfterSuper = superStatementIndex >= 0 ? superStatementIndex + 1 : void 0;
addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, nonPrologueStart, indexOfFirstStatementAfterSuper ? indexOfFirstStatementAfterSuper - nonPrologueStart : void 0));
addRange(statements, initializerStatements);
addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, nonPrologueStart));
addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, indexOfFirstStatementAfterSuper));
body = factory2.createBlock(
statements,
/*multiLine*/
Expand Down
5 changes: 4 additions & 1 deletion lib/tsserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -95799,8 +95799,11 @@ function transformESDecorators(context) {
false,
visitor
);
const superStatementIndex = findSuperStatementIndex(node.body.statements, nonPrologueStart);
const indexOfFirstStatementAfterSuper = superStatementIndex >= 0 ? superStatementIndex + 1 : void 0;
addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, nonPrologueStart, indexOfFirstStatementAfterSuper ? indexOfFirstStatementAfterSuper - nonPrologueStart : void 0));
addRange(statements, initializerStatements);
addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, nonPrologueStart));
addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, indexOfFirstStatementAfterSuper));
body = factory2.createBlock(
statements,
/*multiLine*/
Expand Down
5 changes: 4 additions & 1 deletion lib/tsserverlibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -93802,8 +93802,11 @@ ${lanes.join("\n")}
false,
visitor
);
const superStatementIndex = findSuperStatementIndex(node.body.statements, nonPrologueStart);
const indexOfFirstStatementAfterSuper = superStatementIndex >= 0 ? superStatementIndex + 1 : void 0;
addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, nonPrologueStart, indexOfFirstStatementAfterSuper ? indexOfFirstStatementAfterSuper - nonPrologueStart : void 0));
addRange(statements, initializerStatements);
addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, nonPrologueStart));
addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, indexOfFirstStatementAfterSuper));
body = factory2.createBlock(
statements,
/*multiLine*/
Expand Down
5 changes: 4 additions & 1 deletion lib/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -93802,8 +93802,11 @@ ${lanes.join("\n")}
false,
visitor
);
const superStatementIndex = findSuperStatementIndex(node.body.statements, nonPrologueStart);
const indexOfFirstStatementAfterSuper = superStatementIndex >= 0 ? superStatementIndex + 1 : void 0;
addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, nonPrologueStart, indexOfFirstStatementAfterSuper ? indexOfFirstStatementAfterSuper - nonPrologueStart : void 0));
addRange(statements, initializerStatements);
addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, nonPrologueStart));
addRange(statements, visitNodes2(node.body.statements, visitor, isStatement, indexOfFirstStatementAfterSuper));
body = factory2.createBlock(
statements,
/*multiLine*/
Expand Down

0 comments on commit 3ec598c

Please sign in to comment.