Skip to content

Commit 78aef96

Browse files
author
andy-ms
committed
Remove mutually-recursive functions
1 parent 7bb5fc2 commit 78aef96

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

src/compiler/checker.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19783,24 +19783,6 @@ namespace ts {
1978319783
return;
1978419784
}
1978519785

19786-
function containsSuperCallAsComputedPropertyName(n: Declaration): boolean {
19787-
const name = getNameOfDeclaration(n);
19788-
return name && containsSuperCall(name);
19789-
}
19790-
19791-
function containsSuperCall(n: Node): boolean {
19792-
if (isSuperCall(n)) {
19793-
return true;
19794-
}
19795-
else if (isFunctionLike(n)) {
19796-
return false;
19797-
}
19798-
else if (isClassLike(n)) {
19799-
return forEach((<ClassLikeDeclaration>n).members, containsSuperCallAsComputedPropertyName);
19800-
}
19801-
return forEachChild(n, containsSuperCall);
19802-
}
19803-
1980419786
function isInstancePropertyWithInitializer(n: Node): boolean {
1980519787
return n.kind === SyntaxKind.PropertyDeclaration &&
1980619788
!hasModifier(n, ModifierFlags.Static) &&

0 commit comments

Comments
 (0)