Set impliedNodeFormat on sourceFile we get from host to ensure the field is set correctly (#50977)

* Add test that fails

* Handle impliedNodeFormat when handling sourceFileCache
Fixes #50872

* Revert the fix

* Make sure impliedNodeFormat is set for the sourceFile

* Revert "Make sure impliedNodeFormat is set for the sourceFile"

This reverts commit 651a47fdd6.

* Revert "Revert the fix"

This reverts commit 5c98b9cfc1.

* Swap the keys for map
This commit is contained in:
Sheetal Nandi
2022-10-31 11:26:36 -07:00
committed by GitHub
parent cfa55f1c2d
commit 7c580111df
5 changed files with 203 additions and 14 deletions
@@ -985,6 +985,7 @@ interface Array<T> { length: number; [n: number]: T; }`
}
write(message: string) {
if (Debug.isDebugging) console.log(message);
this.output.push(message);
}