diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 006ef6475834a..35c540fa14fa6 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -1236,8 +1236,6 @@ namespace ts { return oldProgram.structureIsReused = StructureIsReused.Not; } - Debug.assert(!(oldProgram.structureIsReused! & (StructureIsReused.Completely | StructureIsReused.SafeModules))); - // there is an old program, check if we can reuse its structure const oldRootNames = oldProgram.getRootFileNames(); if (!arrayIsEqualTo(oldRootNames, rootNames)) {