Trace checkDeferredNode to cover JSX elements (#41572)

This commit is contained in:
Andrew Casey 2020-11-24 14:33:15 -08:00 committed by GitHub
parent 4c8418ee19
commit a6ebf5d79a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36985,6 +36985,7 @@ namespace ts {
}
function checkDeferredNode(node: Node) {
tracing.push(tracing.Phase.Check, "checkDeferredNode", { kind: node.kind, pos: node.pos, end: node.end });
const saveCurrentNode = currentNode;
currentNode = node;
instantiationCount = 0;
@ -37020,6 +37021,7 @@ namespace ts {
break;
}
currentNode = saveCurrentNode;
tracing.pop();
}
function checkSourceFile(node: SourceFile) {