Skip to content

Commit 9cb279e

Browse files
committed
Fix all except special entrypoints and tests
1 parent c9a5de6 commit 9cb279e

File tree

139 files changed

+142
-141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+142
-141
lines changed

src/compiler/binder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ import {
3939
createFileDiagnostic,
4040
createQueue,
4141
createSymbolTable,
42-
Debug,
4342
Declaration,
4443
declarationNameToString,
4544
DeleteExpression,
@@ -321,6 +320,7 @@ import {
321320
WithStatement,
322321
} from "./_namespaces/ts.js";
323322
import * as performance from "./_namespaces/ts.performance.js";
323+
import * as Debug from "./debug.js";
324324

325325
/** @internal */
326326
export const enum ModuleInstanceState {

src/compiler/builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import {
2626
createModuleNotFoundChain,
2727
createProgram,
2828
CustomTransformers,
29-
Debug,
3029
Diagnostic,
3130
DiagnosticCategory,
3231
DiagnosticMessageChain,
@@ -90,6 +89,7 @@ import {
9089
WriteFileCallback,
9190
WriteFileCallbackData,
9291
} from "./_namespaces/ts.js";
92+
import * as Debug from "./debug.js";
9393

9494
/** @internal */
9595
export interface ReusableDiagnostic extends ReusableDiagnosticRelatedInformation {

src/compiler/builderState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
CompilerOptions,
55
computeSignatureWithDiagnostics,
66
CustomTransformers,
7-
Debug,
87
EmitOnly,
98
EmitOutput,
109
emptyArray,
@@ -34,6 +33,7 @@ import {
3433
toPath,
3534
TypeChecker,
3635
} from "./_namespaces/ts.js";
36+
import * as Debug from "./debug.js";
3737

3838
/** @internal */
3939
export function getFileEmitOutput(

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ import {
130130
createSymbolTable,
131131
createSyntacticTypeNodeBuilder,
132132
createTextWriter,
133-
Debug,
134133
Declaration,
135134
DeclarationName,
136135
declarationNameToString,
@@ -1124,6 +1123,7 @@ import {
11241123
} from "./_namespaces/ts.js";
11251124
import * as moduleSpecifiers from "./_namespaces/ts.moduleSpecifiers.js";
11261125
import * as performance from "./_namespaces/ts.performance.js";
1126+
import * as Debug from "./debug.js";
11271127

11281128
const ambientModuleSymbolRegex = /^".+"$/;
11291129
const anon = "(anonymous)" as __String & string;

src/compiler/commandLineParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
createCompilerDiagnostic,
2323
createDiagnosticForNodeInSourceFile,
2424
createGetCanonicalFileName,
25-
Debug,
2625
Diagnostic,
2726
DiagnosticArguments,
2827
DiagnosticMessage,
@@ -122,6 +121,7 @@ import {
122121
WatchFileKind,
123122
WatchOptions,
124123
} from "./_namespaces/ts.js";
124+
import * as Debug from "./debug.js";
125125

126126
const compileOnSaveCommandLineOption: CommandLineOption = {
127127
name: "compileOnSave",

src/compiler/core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import {
22
CharacterCodes,
33
Comparer,
44
Comparison,
5-
Debug,
65
EqualityComparer,
76
MapLike,
87
Queue,
98
SortedArray,
109
SortedReadonlyArray,
1110
TextSpan,
1211
} from "./_namespaces/ts.js";
12+
import * as Debug from "./debug.js";
1313

1414
/* eslint-disable @typescript-eslint/prefer-for-of */
1515

src/compiler/emitter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ import {
5454
createGetCanonicalFileName,
5555
createSourceMapGenerator,
5656
createTextWriter,
57-
Debug,
5857
DebuggerStatement,
5958
DeclarationName,
6059
Decorator,
@@ -424,6 +423,7 @@ import {
424423
YieldExpression,
425424
} from "./_namespaces/ts.js";
426425
import * as performance from "./_namespaces/ts.performance.js";
426+
import * as Debug from "./debug.js";
427427

428428
const brackets = createBracketsMap();
429429

src/compiler/executeCommandLine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import {
2929
createWatchCompilerHostOfFilesAndCompilerOptions,
3030
createWatchProgram,
3131
createWatchStatusReporter as ts_createWatchStatusReporter,
32-
Debug,
3332
Diagnostic,
3433
DiagnosticMessage,
3534
DiagnosticReporter,
@@ -88,6 +87,7 @@ import {
8887
WatchOfConfigFile,
8988
WatchOptions,
9089
} from "./_namespaces/ts.js";
90+
import * as Debug from "./debug.js";
9191
import * as performance from "./performance.js";
9292

9393
interface Statistic {

src/compiler/expressionToTypeNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
BindingElement,
99
ClassExpression,
1010
CompilerOptions,
11-
Debug,
1211
ElementAccessExpression,
1312
ExportAssignment,
1413
Expression,
@@ -65,6 +64,7 @@ import {
6564
UnionTypeNode,
6665
VariableDeclaration,
6766
} from "./_namespaces/ts.js";
67+
import * as Debug from "./debug.js";
6868

6969
/** @internal */
7070
export function createSyntacticTypeNodeBuilder(

src/compiler/factory/emitHelpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
compareValues,
77
Comparison,
88
createExpressionFromEntityName,
9-
Debug,
109
EmitFlags,
1110
EmitHelper,
1211
EmitHelperUniqueNameCallback,
@@ -36,6 +35,7 @@ import {
3635
TransformationContext,
3736
UnscopedEmitHelper,
3837
} from "../_namespaces/ts.js";
38+
import * as Debug from "../debug.js";
3939

4040
/** @internal */
4141
export const enum PrivateIdentifierKind {

0 commit comments

Comments
 (0)