Merge branch 'master' into builderApi

This commit is contained in:
Sheetal Nandi
2018-01-17 16:11:44 -08:00
122 changed files with 4891 additions and 506 deletions

View File

@@ -1818,7 +1818,7 @@ namespace ts {
}, shouldCreateNewSourceFile);
if (packageId) {
const packageIdKey = `${packageId.name}/${packageId.subModuleName}@${packageId.version}`;
const packageIdKey = packageIdToString(packageId);
const fileFromPackageId = packageIdToSourceFile.get(packageIdKey);
if (fileFromPackageId) {
// Some other SourceFile already exists with this package name and version.