mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 20:25:23 -06:00
Remove duplicate function from merging
This commit is contained in:
parent
90c08c2201
commit
2a674579d3
@ -7328,10 +7328,6 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
|
||||
function isSuperCallExpression(n: Node): boolean {
|
||||
return n.kind === SyntaxKind.CallExpression && (<CallExpression>n).expression.kind === SyntaxKind.SuperKeyword;
|
||||
}
|
||||
|
||||
function findFirstSuperCall(n: Node): Node {
|
||||
if (isSuperCallExpression(n)) {
|
||||
return n;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user