Don't check container invariants. They don't hold true in incremental scenarios.

This commit is contained in:
Cyrus Najmabadi 2014-12-16 03:08:29 -08:00
parent 6326b9d51f
commit 935ba82efd

View File

@ -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;
}