From 2403cc4414d813e66adcdf7d4afe6d01077ec6da Mon Sep 17 00:00:00 2001 From: Ron Buckton Date: Fri, 16 Oct 2015 13:39:21 -0700 Subject: [PATCH] Fixed incorrect check in tryPushNode --- src/compiler/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/core.ts b/src/compiler/core.ts index ff173b4129..c8364ae430 100644 --- a/src/compiler/core.ts +++ b/src/compiler/core.ts @@ -992,7 +992,7 @@ namespace ts { /** Pushes a node onto the stack if it is not already at the top of the stack. */ function tryPushNode(node: Node): boolean { - if (currentNode !== node) { + if (currentNode === node) { return false; }