We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a39e969 commit 4652fc4Copy full SHA for 4652fc4
src/compiler/program.ts
@@ -879,17 +879,17 @@ namespace ts {
879
return oldProgram.structureIsReused = StructureIsReused.SafeModules;
880
}
881
882
+
883
+ for (const p of oldProgram.getMissingFilePaths()) {
884
+ filesByName.set(p, undefined);
885
+ }
886
887
888
// update fileName -> file mapping
889
for (let i = 0; i < newSourceFiles.length; i++) {
890
filesByName.set(filePaths[i], newSourceFiles[i]);
891
892
- for (const p of oldProgram.getMissingFilePaths()) {
- filesByName.set(p, undefined);
- }
-
893
files = newSourceFiles;
894
fileProcessingDiagnostics = oldProgram.getFileProcessingDiagnostics();
895
0 commit comments