Skip to content

Commit

Permalink
Disable assertion for deferredUnusedIdentifierNodes (#22604)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy authored Mar 15, 2018
1 parent 85e9cce commit eb4dba7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21573,7 +21573,8 @@ namespace ts {

function registerForUnusedIdentifiersCheck(node: Node) {
if (deferredUnusedIdentifierNodes) {
Debug.assert(addToSeen(seenDeferredUnusedIdentifiers, getNodeId(node)), "Deferring unused identifier check twice");
// TODO: GH#22580
// Debug.assert(addToSeen(seenDeferredUnusedIdentifiers, getNodeId(node)), "Deferring unused identifier check twice");
deferredUnusedIdentifierNodes.push(node);
}
}
Expand Down

0 comments on commit eb4dba7

Please sign in to comment.