Skip to content

Commit 97f48e8

Browse files
committed
PR cleanup
1 parent c0a73b2 commit 97f48e8

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

src/compiler/core.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,8 +568,6 @@ namespace ts {
568568
* is created if `value` was appended.
569569
* @param value The value to append to the array. If `value` is `undefined`, nothing is
570570
* appended.
571-
* @param copyOnWrite Indicates whether to return a fresh array rather than modify the
572-
* existing array.
573571
*/
574572
export function append<T>(to: T[] | undefined, value: T | undefined): T[] | undefined {
575573
if (value === undefined) return to;

src/compiler/utilities.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -883,19 +883,6 @@ namespace ts {
883883
return false;
884884
}
885885

886-
export function getAllLabeledStatements(node: LabeledStatement): { statement: Statement; labeledStatements: LabeledStatement[]; } {
887-
switch (node.statement.kind) {
888-
case SyntaxKind.LabeledStatement:
889-
const result = getAllLabeledStatements(<LabeledStatement>node.statement);
890-
if (result) {
891-
result.labeledStatements.push(node);
892-
}
893-
return result;
894-
default:
895-
return { statement: <IterationStatement>node.statement, labeledStatements: [node] };
896-
}
897-
}
898-
899886
export function isFunctionBlock(node: Node) {
900887
return node && node.kind === SyntaxKind.Block && isFunctionLike(node.parent);
901888
}

0 commit comments

Comments
 (0)