mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 19:55:08 -06:00
Remove unnecessary code.
This commit is contained in:
parent
0f3584e9cc
commit
26103b8548
@ -167,7 +167,7 @@ module Utils {
|
||||
continue;
|
||||
}
|
||||
var child = (<any>node)[childName];
|
||||
if (isNodeOrArray(child) && childName !== "jsDocComment") {
|
||||
if (isNodeOrArray(child)) {
|
||||
assert.isFalse(childNodesAndArrays.indexOf(child) < 0,
|
||||
"Missing child when forEach'ing over node: " + (<any>ts).SyntaxKind[node.kind] + "-" + childName);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user