Skip to content

Commit fce1423

Browse files
committed
Merge pull request microsoft#3566 from Microsoft/port-3395
Port PR 3395 into release 1.5
2 parents 937927a + 3db5bbf commit fce1423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/program.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ module ts {
152152
let start = new Date().getTime();
153153

154154
host = host || createCompilerHost(options);
155-
let filesByName = createFileMap<SourceFile>(host.getCanonicalFileName);
155+
let filesByName = createFileMap<SourceFile>(fileName => host.getCanonicalFileName(fileName));
156156

157157
forEach(rootNames, name => processRootFile(name, false));
158158
if (!seenNoDefaultLib) {

0 commit comments

Comments
 (0)