From 935ba82efd1ac99f766ecdc54d53cd498e55ec85 Mon Sep 17 00:00:00 2001 From: Cyrus Najmabadi Date: Tue, 16 Dec 2014 03:08:29 -0800 Subject: [PATCH] Don't check container invariants. They don't hold true in incremental scenarios. --- src/compiler/binder.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index 9af347e59bd..128b6f8ffed 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -234,10 +234,8 @@ module ts { parent = node; if (symbolKind & SymbolFlags.IsContainer) { container = node; - Debug.assert(container.nextContainer === undefined); if (lastContainer) { - Debug.assert(lastContainer.nextContainer === undefined); lastContainer.nextContainer = container; }