Merge pull request #3566 from Microsoft/port-3395

Port PR 3395 into release 1.5
This commit is contained in:
Vladimir Matveev 2015-06-18 14:49:09 -07:00
commit fce1423414

View file

@ -152,7 +152,7 @@ module ts {
let start = new Date().getTime();
host = host || createCompilerHost(options);
let filesByName = createFileMap<SourceFile>(host.getCanonicalFileName);
let filesByName = createFileMap<SourceFile>(fileName => host.getCanonicalFileName(fileName));
forEach(rootNames, name => processRootFile(name, false));
if (!seenNoDefaultLib) {