Skip to content

Commit

Permalink
Revert "Once again, set snc to fixed value to see perf floor of funct…
Browse files Browse the repository at this point in the history
…ion"

This reverts commit b632e6a.
  • Loading branch information
weswigham committed Sep 21, 2022
1 parent b632e6a commit 08dfb4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ namespace ts {
const moduleKind = getEmitModuleKind(compilerOptions);
const useDefineForClassFields = getUseDefineForClassFields(compilerOptions);
const allowSyntheticDefaultImports = getAllowSyntheticDefaultImports(compilerOptions);
const strictNullChecks = (_context: Node | undefined) => true; //getStrictOptionValue(context && getSourceFileOfNode(context), compilerOptions, "strictNullChecks");
const strictNullChecks = (context: Node | undefined) => getStrictOptionValue(context && getSourceFileOfNode(context), compilerOptions, "strictNullChecks");
const strictFunctionTypes = (file: SourceFile | undefined) => getStrictOptionValue(file, compilerOptions, "strictFunctionTypes");
const strictBindCallApply = (file: SourceFile | undefined) => getStrictOptionValue(file, compilerOptions, "strictBindCallApply");
const strictPropertyInitialization = (file: SourceFile) => getStrictOptionValue(file, compilerOptions, "strictPropertyInitialization");
Expand Down

0 comments on commit 08dfb4c

Please sign in to comment.