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 10, 2021
1 parent 2165ffd commit c4fb4f3
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 19 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
4 changes: 0 additions & 4 deletions src/compiler/diagnosticMessages.json
Original file line number Diff line number Diff line change
Expand Up @@ -4757,10 +4757,6 @@
"category": "Error",
"code": 6238
},
"Disable lazy computation of module shapes.": {
"category": "Message",
"code": 6239
},

"Projects to reference": {
"category": "Message",
Expand Down
1 change: 0 additions & 1 deletion src/compiler/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5841,7 +5841,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 @@ -9170,7 +9170,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 c4fb4f3

Please sign in to comment.