Merge pull request #9580 from Microsoft/compile-with-noImplicitThis

Compile with --noImplicitThis
This commit is contained in:
Nathan Shively-Sanders
2016-07-11 15:25:44 -07:00
committed by GitHub
11 changed files with 29 additions and 13 deletions

View File

@@ -1399,7 +1399,7 @@ namespace ts {
}
function emit(sourceFile?: SourceFile, writeFileCallback?: WriteFileCallback, cancellationToken?: CancellationToken): EmitResult {
return runWithCancellationToken(() => emitWorker(this, sourceFile, writeFileCallback, cancellationToken));
return runWithCancellationToken(() => emitWorker(program, sourceFile, writeFileCallback, cancellationToken));
}
function isEmitBlocked(emitFileName: string): boolean {