Skip to content

Commit

Permalink
remove displayLazyShapeCompilation option
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Mar 5, 2021
1 parent 7f98071 commit 9fc3260
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion src/compiler/builderState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ namespace ts {
}
}
else {
if ((prevSignature === undefined && avoidInitializingSignature) && !programOfThisState.getCompilerOptions().disableLazyShapeComputation) {
if (prevSignature === undefined && avoidInitializingSignature) {
if (exportedModulesMapCache) {
const references = state.referencedMap ? state.referencedMap.get(sourceFile.resolvedPath) : undefined;
exportedModulesMapCache.set(sourceFile.resolvedPath, references || false);
Expand Down
6 changes: 0 additions & 6 deletions src/compiler/commandLineParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -941,12 +941,6 @@ namespace ts {
category: Diagnostics.Advanced_Options,
description: Diagnostics.Do_not_emit_declarations_for_code_that_has_an_internal_annotation,
},
{
name: "disableLazyShapeComputation",
type: "boolean",
category: Diagnostics.Advanced_Options,
description: Diagnostics.Disable_lazy_computation_of_module_shapes
},
{
name: "disableSizeLimit",
type: "boolean",
Expand Down
1 change: 0 additions & 1 deletion src/compiler/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5840,7 +5840,6 @@ namespace ts {
declarationDir?: string;
/* @internal */ diagnostics?: boolean;
/* @internal */ extendedDiagnostics?: boolean;
/* @internal */ disableLazyShapeComputation?: boolean;
disableSizeLimit?: boolean;
disableSourceOfProjectReferenceRedirect?: boolean;
disableSolutionSearching?: boolean;
Expand Down
1 change: 0 additions & 1 deletion src/server/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3315,7 +3315,6 @@ namespace ts.server.protocol {
checkJs?: boolean;
declaration?: boolean;
declarationDir?: string;
disableLazyShapeComputation?: boolean;
disableSizeLimit?: boolean;
downlevelIteration?: boolean;
emitBOM?: boolean;
Expand Down
1 change: 0 additions & 1 deletion tests/baselines/reference/api/tsserverlibrary.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9157,7 +9157,6 @@ declare namespace ts.server.protocol {
checkJs?: boolean;
declaration?: boolean;
declarationDir?: string;
disableLazyShapeComputation?: boolean;
disableSizeLimit?: boolean;
downlevelIteration?: boolean;
emitBOM?: boolean;
Expand Down

This file was deleted.

0 comments on commit 9fc3260

Please sign in to comment.