You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compiler/builder.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,8 @@ namespace ts {
78
78
if(useOldState){
79
79
// Verify the sanity of old state
80
80
if(!oldState!.currentChangedFilePath){
81
-
Debug.assert(!oldState!.affectedFiles&&(!oldState!.currentAffectedFilesSignatures||!oldState!.currentAffectedFilesSignatures!.size),"Cannot reuse if only few affected files of currentChangedFile were iterated");
Debug.assert(!oldState!.affectedFiles&&(!affectedSignatures||!affectedSignatures.size),"Cannot reuse if only few affected files of currentChangedFile were iterated");
82
83
}
83
84
if(canCopySemanticDiagnostics){
84
85
Debug.assert(!forEachKey(oldState!.changedFilesSet,path=>oldState!.semanticDiagnosticsPerFile!.has(path)),"Semantic diagnostics shouldnt be available for changed files");
0 commit comments