Trace checkDeferredNode to cover JSX elements (#41572)
This commit is contained in:
parent
4c8418ee19
commit
a6ebf5d79a
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue