Accepting new baselines

This commit is contained in:
Anders Hejlsberg 2015-03-02 12:21:53 -08:00
parent 234358e6c6
commit 43af8716d0
93 changed files with 513 additions and 572 deletions

View file

@ -712,10 +712,7 @@ declare module "typescript" {
name: Identifier;
members: NodeArray<EnumMember>;
}
interface ExportContainer {
exportStars?: ExportDeclaration[];
}
interface ModuleDeclaration extends Declaration, ModuleElement, ExportContainer {
interface ModuleDeclaration extends Declaration, ModuleElement {
name: Identifier | LiteralExpression;
body: ModuleBlock | ModuleDeclaration;
}
@ -740,7 +737,7 @@ declare module "typescript" {
interface NamespaceImport extends Declaration {
name: Identifier;
}
interface ExportDeclaration extends Statement, ModuleElement {
interface ExportDeclaration extends Declaration, ModuleElement {
exportClause?: NamedExports;
moduleSpecifier?: Expression;
}
@ -755,7 +752,7 @@ declare module "typescript" {
}
type ImportSpecifier = ImportOrExportSpecifier;
type ExportSpecifier = ImportOrExportSpecifier;
interface ExportAssignment extends Statement, ModuleElement {
interface ExportAssignment extends Declaration, ModuleElement {
isExportEquals?: boolean;
expression: Expression;
}
@ -765,7 +762,7 @@ declare module "typescript" {
interface CommentRange extends TextRange {
hasTrailingNewLine?: boolean;
}
interface SourceFile extends Declaration, ExportContainer {
interface SourceFile extends Declaration {
statements: NodeArray<ModuleElement>;
endOfFileToken: Node;
fileName: string;
@ -929,7 +926,7 @@ declare module "typescript" {
interface EmitResolver {
getGeneratedNameForNode(node: ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration): string;
getExpressionNameSubstitution(node: Identifier): string;
getExportAssignmentName(node: SourceFile): string;
hasExportDefaultValue(node: SourceFile): boolean;
isReferencedImportDeclaration(node: Node): boolean;
isTopLevelValueImportEqualsWithEntityName(node: ImportEqualsDeclaration): boolean;
getNodeCheckFlags(node: Node): NodeCheckFlags;
@ -973,6 +970,7 @@ declare module "typescript" {
Prototype = 134217728,
UnionProperty = 268435456,
Optional = 536870912,
ExportStar = 1073741824,
Enum = 384,
Variable = 3,
Value = 107455,
@ -1026,10 +1024,9 @@ declare module "typescript" {
declaredType?: Type;
mapper?: TypeMapper;
referenced?: boolean;
exportAssignmentChecked?: boolean;
exportAssignmentSymbol?: Symbol;
unionType?: UnionType;
resolvedExports?: SymbolTable;
exportsChecked?: boolean;
}
interface TransientSymbol extends Symbol, SymbolLinks {
}

View file

@ -2160,18 +2160,10 @@ declare module "typescript" {
>NodeArray : NodeArray<T>
>EnumMember : EnumMember
}
interface ExportContainer {
>ExportContainer : ExportContainer
exportStars?: ExportDeclaration[];
>exportStars : ExportDeclaration[]
>ExportDeclaration : ExportDeclaration
}
interface ModuleDeclaration extends Declaration, ModuleElement, ExportContainer {
interface ModuleDeclaration extends Declaration, ModuleElement {
>ModuleDeclaration : ModuleDeclaration
>Declaration : Declaration
>ModuleElement : ModuleElement
>ExportContainer : ExportContainer
name: Identifier | LiteralExpression;
>name : Identifier | LiteralExpression
@ -2249,9 +2241,9 @@ declare module "typescript" {
>name : Identifier
>Identifier : Identifier
}
interface ExportDeclaration extends Statement, ModuleElement {
interface ExportDeclaration extends Declaration, ModuleElement {
>ExportDeclaration : ExportDeclaration
>Statement : Statement
>Declaration : Declaration
>ModuleElement : ModuleElement
exportClause?: NamedExports;
@ -2299,9 +2291,9 @@ declare module "typescript" {
>ExportSpecifier : ImportOrExportSpecifier
>ImportOrExportSpecifier : ImportOrExportSpecifier
interface ExportAssignment extends Statement, ModuleElement {
interface ExportAssignment extends Declaration, ModuleElement {
>ExportAssignment : ExportAssignment
>Statement : Statement
>Declaration : Declaration
>ModuleElement : ModuleElement
isExportEquals?: boolean;
@ -2325,10 +2317,9 @@ declare module "typescript" {
hasTrailingNewLine?: boolean;
>hasTrailingNewLine : boolean
}
interface SourceFile extends Declaration, ExportContainer {
interface SourceFile extends Declaration {
>SourceFile : SourceFile
>Declaration : Declaration
>ExportContainer : ExportContainer
statements: NodeArray<ModuleElement>;
>statements : NodeArray<ModuleElement>
@ -2964,8 +2955,8 @@ declare module "typescript" {
>EmitResolver : EmitResolver
getGeneratedNameForNode(node: ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration): string;
>getGeneratedNameForNode : (node: EnumDeclaration | ExportDeclaration | ModuleDeclaration | ImportDeclaration) => string
>node : EnumDeclaration | ExportDeclaration | ModuleDeclaration | ImportDeclaration
>getGeneratedNameForNode : (node: EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration) => string
>node : EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration
>ModuleDeclaration : ModuleDeclaration
>EnumDeclaration : EnumDeclaration
>ImportDeclaration : ImportDeclaration
@ -2976,8 +2967,8 @@ declare module "typescript" {
>node : Identifier
>Identifier : Identifier
getExportAssignmentName(node: SourceFile): string;
>getExportAssignmentName : (node: SourceFile) => string
hasExportDefaultValue(node: SourceFile): boolean;
>hasExportDefaultValue : (node: SourceFile) => boolean
>node : SourceFile
>SourceFile : SourceFile
@ -3154,6 +3145,9 @@ declare module "typescript" {
Optional = 536870912,
>Optional : SymbolFlags
ExportStar = 1073741824,
>ExportStar : SymbolFlags
Enum = 384,
>Enum : SymbolFlags
@ -3318,13 +3312,6 @@ declare module "typescript" {
referenced?: boolean;
>referenced : boolean
exportAssignmentChecked?: boolean;
>exportAssignmentChecked : boolean
exportAssignmentSymbol?: Symbol;
>exportAssignmentSymbol : Symbol
>Symbol : Symbol
unionType?: UnionType;
>unionType : UnionType
>UnionType : UnionType
@ -3332,6 +3319,9 @@ declare module "typescript" {
resolvedExports?: SymbolTable;
>resolvedExports : SymbolTable
>SymbolTable : SymbolTable
exportsChecked?: boolean;
>exportsChecked : boolean
}
interface TransientSymbol extends Symbol, SymbolLinks {
>TransientSymbol : TransientSymbol

View file

@ -743,10 +743,7 @@ declare module "typescript" {
name: Identifier;
members: NodeArray<EnumMember>;
}
interface ExportContainer {
exportStars?: ExportDeclaration[];
}
interface ModuleDeclaration extends Declaration, ModuleElement, ExportContainer {
interface ModuleDeclaration extends Declaration, ModuleElement {
name: Identifier | LiteralExpression;
body: ModuleBlock | ModuleDeclaration;
}
@ -771,7 +768,7 @@ declare module "typescript" {
interface NamespaceImport extends Declaration {
name: Identifier;
}
interface ExportDeclaration extends Statement, ModuleElement {
interface ExportDeclaration extends Declaration, ModuleElement {
exportClause?: NamedExports;
moduleSpecifier?: Expression;
}
@ -786,7 +783,7 @@ declare module "typescript" {
}
type ImportSpecifier = ImportOrExportSpecifier;
type ExportSpecifier = ImportOrExportSpecifier;
interface ExportAssignment extends Statement, ModuleElement {
interface ExportAssignment extends Declaration, ModuleElement {
isExportEquals?: boolean;
expression: Expression;
}
@ -796,7 +793,7 @@ declare module "typescript" {
interface CommentRange extends TextRange {
hasTrailingNewLine?: boolean;
}
interface SourceFile extends Declaration, ExportContainer {
interface SourceFile extends Declaration {
statements: NodeArray<ModuleElement>;
endOfFileToken: Node;
fileName: string;
@ -960,7 +957,7 @@ declare module "typescript" {
interface EmitResolver {
getGeneratedNameForNode(node: ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration): string;
getExpressionNameSubstitution(node: Identifier): string;
getExportAssignmentName(node: SourceFile): string;
hasExportDefaultValue(node: SourceFile): boolean;
isReferencedImportDeclaration(node: Node): boolean;
isTopLevelValueImportEqualsWithEntityName(node: ImportEqualsDeclaration): boolean;
getNodeCheckFlags(node: Node): NodeCheckFlags;
@ -1004,6 +1001,7 @@ declare module "typescript" {
Prototype = 134217728,
UnionProperty = 268435456,
Optional = 536870912,
ExportStar = 1073741824,
Enum = 384,
Variable = 3,
Value = 107455,
@ -1057,10 +1055,9 @@ declare module "typescript" {
declaredType?: Type;
mapper?: TypeMapper;
referenced?: boolean;
exportAssignmentChecked?: boolean;
exportAssignmentSymbol?: Symbol;
unionType?: UnionType;
resolvedExports?: SymbolTable;
exportsChecked?: boolean;
}
interface TransientSymbol extends Symbol, SymbolLinks {
}

View file

@ -2306,18 +2306,10 @@ declare module "typescript" {
>NodeArray : NodeArray<T>
>EnumMember : EnumMember
}
interface ExportContainer {
>ExportContainer : ExportContainer
exportStars?: ExportDeclaration[];
>exportStars : ExportDeclaration[]
>ExportDeclaration : ExportDeclaration
}
interface ModuleDeclaration extends Declaration, ModuleElement, ExportContainer {
interface ModuleDeclaration extends Declaration, ModuleElement {
>ModuleDeclaration : ModuleDeclaration
>Declaration : Declaration
>ModuleElement : ModuleElement
>ExportContainer : ExportContainer
name: Identifier | LiteralExpression;
>name : Identifier | LiteralExpression
@ -2395,9 +2387,9 @@ declare module "typescript" {
>name : Identifier
>Identifier : Identifier
}
interface ExportDeclaration extends Statement, ModuleElement {
interface ExportDeclaration extends Declaration, ModuleElement {
>ExportDeclaration : ExportDeclaration
>Statement : Statement
>Declaration : Declaration
>ModuleElement : ModuleElement
exportClause?: NamedExports;
@ -2445,9 +2437,9 @@ declare module "typescript" {
>ExportSpecifier : ImportOrExportSpecifier
>ImportOrExportSpecifier : ImportOrExportSpecifier
interface ExportAssignment extends Statement, ModuleElement {
interface ExportAssignment extends Declaration, ModuleElement {
>ExportAssignment : ExportAssignment
>Statement : Statement
>Declaration : Declaration
>ModuleElement : ModuleElement
isExportEquals?: boolean;
@ -2471,10 +2463,9 @@ declare module "typescript" {
hasTrailingNewLine?: boolean;
>hasTrailingNewLine : boolean
}
interface SourceFile extends Declaration, ExportContainer {
interface SourceFile extends Declaration {
>SourceFile : SourceFile
>Declaration : Declaration
>ExportContainer : ExportContainer
statements: NodeArray<ModuleElement>;
>statements : NodeArray<ModuleElement>
@ -3110,8 +3101,8 @@ declare module "typescript" {
>EmitResolver : EmitResolver
getGeneratedNameForNode(node: ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration): string;
>getGeneratedNameForNode : (node: EnumDeclaration | ExportDeclaration | ModuleDeclaration | ImportDeclaration) => string
>node : EnumDeclaration | ExportDeclaration | ModuleDeclaration | ImportDeclaration
>getGeneratedNameForNode : (node: EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration) => string
>node : EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration
>ModuleDeclaration : ModuleDeclaration
>EnumDeclaration : EnumDeclaration
>ImportDeclaration : ImportDeclaration
@ -3122,8 +3113,8 @@ declare module "typescript" {
>node : Identifier
>Identifier : Identifier
getExportAssignmentName(node: SourceFile): string;
>getExportAssignmentName : (node: SourceFile) => string
hasExportDefaultValue(node: SourceFile): boolean;
>hasExportDefaultValue : (node: SourceFile) => boolean
>node : SourceFile
>SourceFile : SourceFile
@ -3300,6 +3291,9 @@ declare module "typescript" {
Optional = 536870912,
>Optional : SymbolFlags
ExportStar = 1073741824,
>ExportStar : SymbolFlags
Enum = 384,
>Enum : SymbolFlags
@ -3464,13 +3458,6 @@ declare module "typescript" {
referenced?: boolean;
>referenced : boolean
exportAssignmentChecked?: boolean;
>exportAssignmentChecked : boolean
exportAssignmentSymbol?: Symbol;
>exportAssignmentSymbol : Symbol
>Symbol : Symbol
unionType?: UnionType;
>unionType : UnionType
>UnionType : UnionType
@ -3478,6 +3465,9 @@ declare module "typescript" {
resolvedExports?: SymbolTable;
>resolvedExports : SymbolTable
>SymbolTable : SymbolTable
exportsChecked?: boolean;
>exportsChecked : boolean
}
interface TransientSymbol extends Symbol, SymbolLinks {
>TransientSymbol : TransientSymbol

View file

@ -744,10 +744,7 @@ declare module "typescript" {
name: Identifier;
members: NodeArray<EnumMember>;
}
interface ExportContainer {
exportStars?: ExportDeclaration[];
}
interface ModuleDeclaration extends Declaration, ModuleElement, ExportContainer {
interface ModuleDeclaration extends Declaration, ModuleElement {
name: Identifier | LiteralExpression;
body: ModuleBlock | ModuleDeclaration;
}
@ -772,7 +769,7 @@ declare module "typescript" {
interface NamespaceImport extends Declaration {
name: Identifier;
}
interface ExportDeclaration extends Statement, ModuleElement {
interface ExportDeclaration extends Declaration, ModuleElement {
exportClause?: NamedExports;
moduleSpecifier?: Expression;
}
@ -787,7 +784,7 @@ declare module "typescript" {
}
type ImportSpecifier = ImportOrExportSpecifier;
type ExportSpecifier = ImportOrExportSpecifier;
interface ExportAssignment extends Statement, ModuleElement {
interface ExportAssignment extends Declaration, ModuleElement {
isExportEquals?: boolean;
expression: Expression;
}
@ -797,7 +794,7 @@ declare module "typescript" {
interface CommentRange extends TextRange {
hasTrailingNewLine?: boolean;
}
interface SourceFile extends Declaration, ExportContainer {
interface SourceFile extends Declaration {
statements: NodeArray<ModuleElement>;
endOfFileToken: Node;
fileName: string;
@ -961,7 +958,7 @@ declare module "typescript" {
interface EmitResolver {
getGeneratedNameForNode(node: ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration): string;
getExpressionNameSubstitution(node: Identifier): string;
getExportAssignmentName(node: SourceFile): string;
hasExportDefaultValue(node: SourceFile): boolean;
isReferencedImportDeclaration(node: Node): boolean;
isTopLevelValueImportEqualsWithEntityName(node: ImportEqualsDeclaration): boolean;
getNodeCheckFlags(node: Node): NodeCheckFlags;
@ -1005,6 +1002,7 @@ declare module "typescript" {
Prototype = 134217728,
UnionProperty = 268435456,
Optional = 536870912,
ExportStar = 1073741824,
Enum = 384,
Variable = 3,
Value = 107455,
@ -1058,10 +1056,9 @@ declare module "typescript" {
declaredType?: Type;
mapper?: TypeMapper;
referenced?: boolean;
exportAssignmentChecked?: boolean;
exportAssignmentSymbol?: Symbol;
unionType?: UnionType;
resolvedExports?: SymbolTable;
exportsChecked?: boolean;
}
interface TransientSymbol extends Symbol, SymbolLinks {
}

View file

@ -2256,18 +2256,10 @@ declare module "typescript" {
>NodeArray : NodeArray<T>
>EnumMember : EnumMember
}
interface ExportContainer {
>ExportContainer : ExportContainer
exportStars?: ExportDeclaration[];
>exportStars : ExportDeclaration[]
>ExportDeclaration : ExportDeclaration
}
interface ModuleDeclaration extends Declaration, ModuleElement, ExportContainer {
interface ModuleDeclaration extends Declaration, ModuleElement {
>ModuleDeclaration : ModuleDeclaration
>Declaration : Declaration
>ModuleElement : ModuleElement
>ExportContainer : ExportContainer
name: Identifier | LiteralExpression;
>name : Identifier | LiteralExpression
@ -2345,9 +2337,9 @@ declare module "typescript" {
>name : Identifier
>Identifier : Identifier
}
interface ExportDeclaration extends Statement, ModuleElement {
interface ExportDeclaration extends Declaration, ModuleElement {
>ExportDeclaration : ExportDeclaration
>Statement : Statement
>Declaration : Declaration
>ModuleElement : ModuleElement
exportClause?: NamedExports;
@ -2395,9 +2387,9 @@ declare module "typescript" {
>ExportSpecifier : ImportOrExportSpecifier
>ImportOrExportSpecifier : ImportOrExportSpecifier
interface ExportAssignment extends Statement, ModuleElement {
interface ExportAssignment extends Declaration, ModuleElement {
>ExportAssignment : ExportAssignment
>Statement : Statement
>Declaration : Declaration
>ModuleElement : ModuleElement
isExportEquals?: boolean;
@ -2421,10 +2413,9 @@ declare module "typescript" {
hasTrailingNewLine?: boolean;
>hasTrailingNewLine : boolean
}
interface SourceFile extends Declaration, ExportContainer {
interface SourceFile extends Declaration {
>SourceFile : SourceFile
>Declaration : Declaration
>ExportContainer : ExportContainer
statements: NodeArray<ModuleElement>;
>statements : NodeArray<ModuleElement>
@ -3060,8 +3051,8 @@ declare module "typescript" {
>EmitResolver : EmitResolver
getGeneratedNameForNode(node: ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration): string;
>getGeneratedNameForNode : (node: EnumDeclaration | ExportDeclaration | ModuleDeclaration | ImportDeclaration) => string
>node : EnumDeclaration | ExportDeclaration | ModuleDeclaration | ImportDeclaration
>getGeneratedNameForNode : (node: EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration) => string
>node : EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration
>ModuleDeclaration : ModuleDeclaration
>EnumDeclaration : EnumDeclaration
>ImportDeclaration : ImportDeclaration
@ -3072,8 +3063,8 @@ declare module "typescript" {
>node : Identifier
>Identifier : Identifier
getExportAssignmentName(node: SourceFile): string;
>getExportAssignmentName : (node: SourceFile) => string
hasExportDefaultValue(node: SourceFile): boolean;
>hasExportDefaultValue : (node: SourceFile) => boolean
>node : SourceFile
>SourceFile : SourceFile
@ -3250,6 +3241,9 @@ declare module "typescript" {
Optional = 536870912,
>Optional : SymbolFlags
ExportStar = 1073741824,
>ExportStar : SymbolFlags
Enum = 384,
>Enum : SymbolFlags
@ -3414,13 +3408,6 @@ declare module "typescript" {
referenced?: boolean;
>referenced : boolean
exportAssignmentChecked?: boolean;
>exportAssignmentChecked : boolean
exportAssignmentSymbol?: Symbol;
>exportAssignmentSymbol : Symbol
>Symbol : Symbol
unionType?: UnionType;
>unionType : UnionType
>UnionType : UnionType
@ -3428,6 +3415,9 @@ declare module "typescript" {
resolvedExports?: SymbolTable;
>resolvedExports : SymbolTable
>SymbolTable : SymbolTable
exportsChecked?: boolean;
>exportsChecked : boolean
}
interface TransientSymbol extends Symbol, SymbolLinks {
>TransientSymbol : TransientSymbol

View file

@ -781,10 +781,7 @@ declare module "typescript" {
name: Identifier;
members: NodeArray<EnumMember>;
}
interface ExportContainer {
exportStars?: ExportDeclaration[];
}
interface ModuleDeclaration extends Declaration, ModuleElement, ExportContainer {
interface ModuleDeclaration extends Declaration, ModuleElement {
name: Identifier | LiteralExpression;
body: ModuleBlock | ModuleDeclaration;
}
@ -809,7 +806,7 @@ declare module "typescript" {
interface NamespaceImport extends Declaration {
name: Identifier;
}
interface ExportDeclaration extends Statement, ModuleElement {
interface ExportDeclaration extends Declaration, ModuleElement {
exportClause?: NamedExports;
moduleSpecifier?: Expression;
}
@ -824,7 +821,7 @@ declare module "typescript" {
}
type ImportSpecifier = ImportOrExportSpecifier;
type ExportSpecifier = ImportOrExportSpecifier;
interface ExportAssignment extends Statement, ModuleElement {
interface ExportAssignment extends Declaration, ModuleElement {
isExportEquals?: boolean;
expression: Expression;
}
@ -834,7 +831,7 @@ declare module "typescript" {
interface CommentRange extends TextRange {
hasTrailingNewLine?: boolean;
}
interface SourceFile extends Declaration, ExportContainer {
interface SourceFile extends Declaration {
statements: NodeArray<ModuleElement>;
endOfFileToken: Node;
fileName: string;
@ -998,7 +995,7 @@ declare module "typescript" {
interface EmitResolver {
getGeneratedNameForNode(node: ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration): string;
getExpressionNameSubstitution(node: Identifier): string;
getExportAssignmentName(node: SourceFile): string;
hasExportDefaultValue(node: SourceFile): boolean;
isReferencedImportDeclaration(node: Node): boolean;
isTopLevelValueImportEqualsWithEntityName(node: ImportEqualsDeclaration): boolean;
getNodeCheckFlags(node: Node): NodeCheckFlags;
@ -1042,6 +1039,7 @@ declare module "typescript" {
Prototype = 134217728,
UnionProperty = 268435456,
Optional = 536870912,
ExportStar = 1073741824,
Enum = 384,
Variable = 3,
Value = 107455,
@ -1095,10 +1093,9 @@ declare module "typescript" {
declaredType?: Type;
mapper?: TypeMapper;
referenced?: boolean;
exportAssignmentChecked?: boolean;
exportAssignmentSymbol?: Symbol;
unionType?: UnionType;
resolvedExports?: SymbolTable;
exportsChecked?: boolean;
}
interface TransientSymbol extends Symbol, SymbolLinks {
}

View file

@ -2429,18 +2429,10 @@ declare module "typescript" {
>NodeArray : NodeArray<T>
>EnumMember : EnumMember
}
interface ExportContainer {
>ExportContainer : ExportContainer
exportStars?: ExportDeclaration[];
>exportStars : ExportDeclaration[]
>ExportDeclaration : ExportDeclaration
}
interface ModuleDeclaration extends Declaration, ModuleElement, ExportContainer {
interface ModuleDeclaration extends Declaration, ModuleElement {
>ModuleDeclaration : ModuleDeclaration
>Declaration : Declaration
>ModuleElement : ModuleElement
>ExportContainer : ExportContainer
name: Identifier | LiteralExpression;
>name : Identifier | LiteralExpression
@ -2518,9 +2510,9 @@ declare module "typescript" {
>name : Identifier
>Identifier : Identifier
}
interface ExportDeclaration extends Statement, ModuleElement {
interface ExportDeclaration extends Declaration, ModuleElement {
>ExportDeclaration : ExportDeclaration
>Statement : Statement
>Declaration : Declaration
>ModuleElement : ModuleElement
exportClause?: NamedExports;
@ -2568,9 +2560,9 @@ declare module "typescript" {
>ExportSpecifier : ImportOrExportSpecifier
>ImportOrExportSpecifier : ImportOrExportSpecifier
interface ExportAssignment extends Statement, ModuleElement {
interface ExportAssignment extends Declaration, ModuleElement {
>ExportAssignment : ExportAssignment
>Statement : Statement
>Declaration : Declaration
>ModuleElement : ModuleElement
isExportEquals?: boolean;
@ -2594,10 +2586,9 @@ declare module "typescript" {
hasTrailingNewLine?: boolean;
>hasTrailingNewLine : boolean
}
interface SourceFile extends Declaration, ExportContainer {
interface SourceFile extends Declaration {
>SourceFile : SourceFile
>Declaration : Declaration
>ExportContainer : ExportContainer
statements: NodeArray<ModuleElement>;
>statements : NodeArray<ModuleElement>
@ -3233,8 +3224,8 @@ declare module "typescript" {
>EmitResolver : EmitResolver
getGeneratedNameForNode(node: ModuleDeclaration | EnumDeclaration | ImportDeclaration | ExportDeclaration): string;
>getGeneratedNameForNode : (node: EnumDeclaration | ExportDeclaration | ModuleDeclaration | ImportDeclaration) => string
>node : EnumDeclaration | ExportDeclaration | ModuleDeclaration | ImportDeclaration
>getGeneratedNameForNode : (node: EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration) => string
>node : EnumDeclaration | ModuleDeclaration | ImportDeclaration | ExportDeclaration
>ModuleDeclaration : ModuleDeclaration
>EnumDeclaration : EnumDeclaration
>ImportDeclaration : ImportDeclaration
@ -3245,8 +3236,8 @@ declare module "typescript" {
>node : Identifier
>Identifier : Identifier
getExportAssignmentName(node: SourceFile): string;
>getExportAssignmentName : (node: SourceFile) => string
hasExportDefaultValue(node: SourceFile): boolean;
>hasExportDefaultValue : (node: SourceFile) => boolean
>node : SourceFile
>SourceFile : SourceFile
@ -3423,6 +3414,9 @@ declare module "typescript" {
Optional = 536870912,
>Optional : SymbolFlags
ExportStar = 1073741824,
>ExportStar : SymbolFlags
Enum = 384,
>Enum : SymbolFlags
@ -3587,13 +3581,6 @@ declare module "typescript" {
referenced?: boolean;
>referenced : boolean
exportAssignmentChecked?: boolean;
>exportAssignmentChecked : boolean
exportAssignmentSymbol?: Symbol;
>exportAssignmentSymbol : Symbol
>Symbol : Symbol
unionType?: UnionType;
>unionType : UnionType
>UnionType : UnionType
@ -3601,6 +3588,9 @@ declare module "typescript" {
resolvedExports?: SymbolTable;
>resolvedExports : SymbolTable
>SymbolTable : SymbolTable
exportsChecked?: boolean;
>exportsChecked : boolean
}
interface TransientSymbol extends Symbol, SymbolLinks {
>TransientSymbol : TransientSymbol

View file

@ -1,6 +1,6 @@
tests/cases/compiler/ExportAssignment7.ts(1,14): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
tests/cases/compiler/ExportAssignment7.ts(4,1): error TS2304: Cannot find name 'B'.
tests/cases/compiler/ExportAssignment7.ts(4,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
tests/cases/compiler/ExportAssignment7.ts(4,10): error TS2304: Cannot find name 'B'.
==== tests/cases/compiler/ExportAssignment7.ts (3 errors) ====
@ -11,6 +11,6 @@ tests/cases/compiler/ExportAssignment7.ts(4,1): error TS2309: An export assignme
export = B;
~~~~~~~~~~~
!!! error TS2304: Cannot find name 'B'.
~~~~~~~~~~~
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.
~
!!! error TS2304: Cannot find name 'B'.

View file

@ -1,6 +1,6 @@
tests/cases/compiler/ExportAssignment8.ts(1,1): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
tests/cases/compiler/ExportAssignment8.ts(1,1): error TS2304: Cannot find name 'B'.
tests/cases/compiler/ExportAssignment8.ts(1,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
tests/cases/compiler/ExportAssignment8.ts(1,10): error TS2304: Cannot find name 'B'.
==== tests/cases/compiler/ExportAssignment8.ts (3 errors) ====
@ -8,9 +8,9 @@ tests/cases/compiler/ExportAssignment8.ts(1,1): error TS2309: An export assignme
~~~~~~~~~~~
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
~~~~~~~~~~~
!!! error TS2304: Cannot find name 'B'.
~~~~~~~~~~~
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.
~
!!! error TS2304: Cannot find name 'B'.
export class C {
}

View file

@ -1,4 +1,4 @@
tests/cases/compiler/aliasBug.ts(17,10): error TS2305: Module 'foo.bar.baz' has no exported member 'bar'.
tests/cases/compiler/aliasBug.ts(17,15): error TS2305: Module 'foo.bar.baz' has no exported member 'bar'.
==== tests/cases/compiler/aliasBug.ts (1 errors) ====
@ -19,7 +19,7 @@ tests/cases/compiler/aliasBug.ts(17,10): error TS2305: Module 'foo.bar.baz' has
var p1: provide.Provide; // error here, but should be okay
var p2: foo.Provide;
var p3:booz.bar;
~~~~~~~~
~~~
!!! error TS2305: Module 'foo.bar.baz' has no exported member 'bar'.
var p22 = new provide.Provide();
}

View file

@ -1,10 +1,10 @@
tests/cases/compiler/aliasErrors.ts(11,1): error TS2304: Cannot find name 'no'.
tests/cases/compiler/aliasErrors.ts(12,1): error TS2304: Cannot find name 'no'.
tests/cases/compiler/aliasErrors.ts(11,12): error TS2304: Cannot find name 'no'.
tests/cases/compiler/aliasErrors.ts(12,13): error TS2304: Cannot find name 'no'.
tests/cases/compiler/aliasErrors.ts(13,12): error TS1003: Identifier expected.
tests/cases/compiler/aliasErrors.ts(14,12): error TS1003: Identifier expected.
tests/cases/compiler/aliasErrors.ts(15,12): error TS1003: Identifier expected.
tests/cases/compiler/aliasErrors.ts(16,1): error TS2304: Cannot find name 'undefined'.
tests/cases/compiler/aliasErrors.ts(26,10): error TS2305: Module 'foo.bar.baz' has no exported member 'bar'.
tests/cases/compiler/aliasErrors.ts(16,12): error TS2304: Cannot find name 'undefined'.
tests/cases/compiler/aliasErrors.ts(26,15): error TS2305: Module 'foo.bar.baz' has no exported member 'bar'.
==== tests/cases/compiler/aliasErrors.ts (7 errors) ====
@ -19,10 +19,10 @@ tests/cases/compiler/aliasErrors.ts(26,10): error TS2305: Module 'foo.bar.baz' h
import beez = foo.bar;
import m = no;
~~~~~~~~~~~~~~
~~
!!! error TS2304: Cannot find name 'no'.
import m2 = no.mod;
~~~~~~~~~~~~~~~~~~~
~~
!!! error TS2304: Cannot find name 'no'.
import n = 5;
~
@ -34,7 +34,7 @@ tests/cases/compiler/aliasErrors.ts(26,10): error TS2305: Module 'foo.bar.baz' h
~~~~
!!! error TS1003: Identifier expected.
import r = undefined;
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~
!!! error TS2304: Cannot find name 'undefined'.
@ -46,7 +46,7 @@ tests/cases/compiler/aliasErrors.ts(26,10): error TS2305: Module 'foo.bar.baz' h
var p1: provide.Provide;
var p2: foo.Provide;
var p3:booz.bar;
~~~~~~~~
~~~
!!! error TS2305: Module 'foo.bar.baz' has no exported member 'bar'.
var p22 = new provide.Provide();
}

View file

@ -1,4 +1,4 @@
tests/cases/compiler/classExtendingQualifiedName.ts(5,21): error TS2305: Module 'M' has no exported member 'C'.
tests/cases/compiler/classExtendingQualifiedName.ts(5,23): error TS2305: Module 'M' has no exported member 'C'.
==== tests/cases/compiler/classExtendingQualifiedName.ts (1 errors) ====
@ -7,7 +7,7 @@ tests/cases/compiler/classExtendingQualifiedName.ts(5,21): error TS2305: Module
}
class D extends M.C {
~~~
~
!!! error TS2305: Module 'M' has no exported member 'C'.
}
}

View file

@ -1,7 +1,7 @@
tests/cases/compiler/complicatedPrivacy.ts(11,24): error TS1054: A 'get' accessor cannot have parameters.
tests/cases/compiler/complicatedPrivacy.ts(35,5): error TS1170: A computed property name in a type literal must directly refer to a built-in symbol.
tests/cases/compiler/complicatedPrivacy.ts(35,6): error TS2304: Cannot find name 'number'.
tests/cases/compiler/complicatedPrivacy.ts(73,49): error TS2305: Module 'mglo5' has no exported member 'i6'.
tests/cases/compiler/complicatedPrivacy.ts(73,55): error TS2305: Module 'mglo5' has no exported member 'i6'.
==== tests/cases/compiler/complicatedPrivacy.ts (4 errors) ====
@ -84,7 +84,7 @@ tests/cases/compiler/complicatedPrivacy.ts(73,49): error TS2305: Module 'mglo5'
export module m3 {
export class c_pr implements mglo5.i5, mglo5.i6 {
~~~~~~~~
~~
!!! error TS2305: Module 'mglo5' has no exported member 'i6'.
f1() {
return "Hello";

View file

@ -1,4 +1,4 @@
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(11,1): error TS2304: Cannot find name 'module'.
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(11,13): error TS2304: Cannot find name 'module'.
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(11,19): error TS1005: ';' expected.
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(22,35): error TS1005: ')' expected.
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(22,39): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type.
@ -96,7 +96,7 @@ tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(261,1): error TS
}
import fs = module("fs");
~~~~~~~~~~~~~~~~~~
~~~~~~
!!! error TS2304: Cannot find name 'module'.
~
!!! error TS1005: ';' expected.

View file

@ -42,23 +42,23 @@ module m2 {
}
var m2: {
>m2 : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; }
>m2 : { (): default.connectExport; test1: default.connectModule; test2(): default.connectModule; }
(): m2.connectExport;
>m2 : unknown
>connectExport : m2.connectExport
>connectExport : default.connectExport
test1: m2.connectModule;
>test1 : m2.connectModule
>test1 : default.connectModule
>m2 : unknown
>connectModule : m2.connectModule
>connectModule : default.connectModule
test2(): m2.connectModule;
>test2 : () => m2.connectModule
>test2 : () => default.connectModule
>m2 : unknown
>connectModule : m2.connectModule
>connectModule : default.connectModule
};
export = m2;
>m2 : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; }
>m2 : { (): default.connectExport; test1: default.connectModule; test2(): default.connectModule; }

View file

@ -7,7 +7,7 @@ declare module "express" {
function express(): express.ExpressServer;
>express : typeof express
>express : unknown
>ExpressServer : express.ExpressServer
>ExpressServer : default.ExpressServer
module express {
>express : typeof express

View file

@ -27,24 +27,24 @@ module m2 {
}
var m2: {
>m2 : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; }
>m2 : { (): default.connectExport; test1: default.connectModule; test2(): default.connectModule; }
(): m2.connectExport;
>m2 : unknown
>connectExport : m2.connectExport
>connectExport : default.connectExport
test1: m2.connectModule;
>test1 : m2.connectModule
>test1 : default.connectModule
>m2 : unknown
>connectModule : m2.connectModule
>connectModule : default.connectModule
test2(): m2.connectModule;
>test2 : () => m2.connectModule
>test2 : () => default.connectModule
>m2 : unknown
>connectModule : m2.connectModule
>connectModule : default.connectModule
};
export = m2;
>m2 : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; }
>m2 : { (): default.connectExport; test1: default.connectModule; test2(): default.connectModule; }

View file

@ -28,24 +28,24 @@ module m2 {
var x = 10, m2: {
>x : number
>m2 : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; }
>m2 : { (): default.connectExport; test1: default.connectModule; test2(): default.connectModule; }
(): m2.connectExport;
>m2 : unknown
>connectExport : m2.connectExport
>connectExport : default.connectExport
test1: m2.connectModule;
>test1 : m2.connectModule
>test1 : default.connectModule
>m2 : unknown
>connectModule : m2.connectModule
>connectModule : default.connectModule
test2(): m2.connectModule;
>test2 : () => m2.connectModule
>test2 : () => default.connectModule
>m2 : unknown
>connectModule : m2.connectModule
>connectModule : default.connectModule
};
export = m2;
>m2 : { (): m2.connectExport; test1: m2.connectModule; test2(): m2.connectModule; }
>m2 : { (): default.connectExport; test1: default.connectModule; test2(): default.connectModule; }

View file

@ -1,10 +1,10 @@
tests/cases/compiler/declareModifierOnImport1.ts(1,1): error TS1079: A 'declare' modifier cannot be used with an import declaration.
tests/cases/compiler/declareModifierOnImport1.ts(1,1): error TS2304: Cannot find name 'b'.
tests/cases/compiler/declareModifierOnImport1.ts(1,20): error TS2304: Cannot find name 'b'.
==== tests/cases/compiler/declareModifierOnImport1.ts (2 errors) ====
declare import a = b;
~~~~~~~
!!! error TS1079: A 'declare' modifier cannot be used with an import declaration.
~~~~~~~~~~~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'b'.

View file

@ -1,15 +1,15 @@
tests/cases/conformance/externalModules/foo1.ts(3,1): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
tests/cases/conformance/externalModules/foo1.ts(3,1): error TS2308: A module cannot have more than one export assignment.
tests/cases/conformance/externalModules/foo1.ts(4,1): error TS2308: A module cannot have more than one export assignment.
tests/cases/conformance/externalModules/foo2.ts(3,1): error TS2308: A module cannot have more than one export assignment.
tests/cases/conformance/externalModules/foo2.ts(4,1): error TS2308: A module cannot have more than one export assignment.
tests/cases/conformance/externalModules/foo3.ts(7,1): error TS2308: A module cannot have more than one export assignment.
tests/cases/conformance/externalModules/foo3.ts(8,1): error TS2308: A module cannot have more than one export assignment.
tests/cases/conformance/externalModules/foo4.ts(1,1): error TS2308: A module cannot have more than one export assignment.
tests/cases/conformance/externalModules/foo4.ts(8,1): error TS2308: A module cannot have more than one export assignment.
tests/cases/conformance/externalModules/foo5.ts(4,1): error TS2308: A module cannot have more than one export assignment.
tests/cases/conformance/externalModules/foo5.ts(5,1): error TS2308: A module cannot have more than one export assignment.
tests/cases/conformance/externalModules/foo5.ts(6,1): error TS2308: A module cannot have more than one export assignment.
tests/cases/conformance/externalModules/foo1.ts(3,1): error TS2300: Duplicate identifier 'default'.
tests/cases/conformance/externalModules/foo1.ts(4,1): error TS2300: Duplicate identifier 'default'.
tests/cases/conformance/externalModules/foo2.ts(3,1): error TS2300: Duplicate identifier 'default'.
tests/cases/conformance/externalModules/foo2.ts(4,1): error TS2300: Duplicate identifier 'default'.
tests/cases/conformance/externalModules/foo3.ts(7,1): error TS2300: Duplicate identifier 'default'.
tests/cases/conformance/externalModules/foo3.ts(8,1): error TS2300: Duplicate identifier 'default'.
tests/cases/conformance/externalModules/foo4.ts(1,1): error TS2300: Duplicate identifier 'default'.
tests/cases/conformance/externalModules/foo4.ts(8,1): error TS2300: Duplicate identifier 'default'.
tests/cases/conformance/externalModules/foo5.ts(4,1): error TS2300: Duplicate identifier 'default'.
tests/cases/conformance/externalModules/foo5.ts(5,1): error TS2300: Duplicate identifier 'default'.
tests/cases/conformance/externalModules/foo5.ts(6,1): error TS2300: Duplicate identifier 'default'.
==== tests/cases/conformance/externalModules/foo1.ts (3 errors) ====
@ -19,20 +19,20 @@ tests/cases/conformance/externalModules/foo5.ts(6,1): error TS2308: A module can
~~~~~~~~~~~
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.
export = y;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.
==== tests/cases/conformance/externalModules/foo2.ts (2 errors) ====
var x = 10;
class y {};
export = x;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.
export = y;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.
==== tests/cases/conformance/externalModules/foo3.ts (2 errors) ====
module x {
@ -43,15 +43,15 @@ tests/cases/conformance/externalModules/foo5.ts(6,1): error TS2308: A module can
}
export = x;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.
export = y;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.
==== tests/cases/conformance/externalModules/foo4.ts (2 errors) ====
export = x;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.
function x(){
return 42;
}
@ -60,7 +60,7 @@ tests/cases/conformance/externalModules/foo5.ts(6,1): error TS2308: A module can
}
export = y;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.
==== tests/cases/conformance/externalModules/foo5.ts (3 errors) ====
var x = 5;
@ -68,11 +68,11 @@ tests/cases/conformance/externalModules/foo5.ts(6,1): error TS2308: A module can
var z = {};
export = x;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.
export = y;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.
export = z;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.

View file

@ -22,9 +22,9 @@ class Foo {
>Foo : Foo
x: Foo.Bar;
>x : Foo.Bar
>x : default.Bar
>Foo : unknown
>Bar : Foo.Bar
>Bar : default.Bar
}
module Foo {
>Foo : typeof Foo

View file

@ -39,7 +39,6 @@ var Foo3 = (function () {
return Foo3;
})();
; // Error, not an expression
module.exports = ;
//// [foo4.js]
module.exports = true;
//// [foo5.js]

View file

@ -12,7 +12,7 @@ interface server {
(): server.Server;
>server : unknown
>Server : server.Server
>Server : default.Server
startTime: Date;
>startTime : Date

View file

@ -1,11 +1,11 @@
tests/cases/compiler/extBaseClass2.ts(2,29): error TS2305: Module 'M' has no exported member 'B'.
tests/cases/compiler/extBaseClass2.ts(2,31): error TS2305: Module 'M' has no exported member 'B'.
tests/cases/compiler/extBaseClass2.ts(7,29): error TS2304: Cannot find name 'B'.
==== tests/cases/compiler/extBaseClass2.ts (2 errors) ====
module N {
export class C4 extends M.B {
~~~
~
!!! error TS2305: Module 'M' has no exported member 'B'.
}
}

View file

@ -1,4 +1,4 @@
tests/cases/compiler/genericFunduleInModule.ts(8,8): error TS2305: Module 'A' has no exported member 'B'.
tests/cases/compiler/genericFunduleInModule.ts(8,10): error TS2305: Module 'A' has no exported member 'B'.
==== tests/cases/compiler/genericFunduleInModule.ts (1 errors) ====
@ -10,6 +10,6 @@ tests/cases/compiler/genericFunduleInModule.ts(8,8): error TS2305: Module 'A' ha
}
var b: A.B;
~~~
~
!!! error TS2305: Module 'A' has no exported member 'B'.
A.B(1);

View file

@ -1,4 +1,4 @@
tests/cases/compiler/genericFunduleInModule2.ts(11,8): error TS2305: Module 'A' has no exported member 'B'.
tests/cases/compiler/genericFunduleInModule2.ts(11,10): error TS2305: Module 'A' has no exported member 'B'.
==== tests/cases/compiler/genericFunduleInModule2.ts (1 errors) ====
@ -13,6 +13,6 @@ tests/cases/compiler/genericFunduleInModule2.ts(11,8): error TS2305: Module 'A'
}
var b: A.B;
~~~
~
!!! error TS2305: Module 'A' has no exported member 'B'.
A.B(1);

View file

@ -8,7 +8,7 @@ tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenc
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument.d.ts(14,23): error TS2314: Generic type 'C<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument.d.ts(14,27): error TS2314: Generic type 'C<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument.d.ts(16,25): error TS2314: Generic type 'C<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument.d.ts(22,26): error TS2305: Module 'M' has no exported member 'C'.
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument.d.ts(22,28): error TS2305: Module 'M' has no exported member 'C'.
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument.d.ts(23,28): error TS2314: Generic type 'E<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument.d.ts(25,30): error TS2314: Generic type 'C<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument.d.ts(26,30): error TS2314: Generic type 'E<T>' requires 1 type argument(s).
@ -57,7 +57,7 @@ tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenc
}
declare class D2 extends M.C { }
~~~
~
!!! error TS2305: Module 'M' has no exported member 'C'.
declare class D3<T extends M.E> { }
~~~

View file

@ -15,9 +15,9 @@ tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenc
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument2.ts(18,38): error TS2314: Generic type 'I<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument2.ts(20,17): error TS2314: Generic type 'I<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument2.ts(23,21): error TS2314: Generic type 'I<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument2.ts(29,18): error TS2305: Module 'M' has no exported member 'C'.
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument2.ts(29,20): error TS2305: Module 'M' has no exported member 'C'.
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument2.ts(30,24): error TS2314: Generic type 'E<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument2.ts(31,22): error TS2305: Module 'M' has no exported member 'C'.
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument2.ts(31,24): error TS2305: Module 'M' has no exported member 'C'.
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument2.ts(33,22): error TS2314: Generic type 'I<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument2.ts(34,22): error TS2314: Generic type 'E<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument2.ts(36,10): error TS2304: Cannot find name 'C'.
@ -88,13 +88,13 @@ tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenc
}
class D2 extends M.C { }
~~~
~
!!! error TS2305: Module 'M' has no exported member 'C'.
interface D3<T extends M.E> { }
~~~
!!! error TS2314: Generic type 'E<T>' requires 1 type argument(s).
interface I2 extends M.C { }
~~~
~
!!! error TS2305: Module 'M' has no exported member 'C'.
function h<T extends I>(x: T) { }

View file

@ -8,7 +8,7 @@ tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenc
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument3.ts(14,23): error TS2314: Generic type 'C<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument3.ts(14,27): error TS2314: Generic type 'C<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument3.ts(16,25): error TS2314: Generic type 'C<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument3.ts(22,26): error TS2305: Module 'M' has no exported member 'C'.
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument3.ts(22,28): error TS2305: Module 'M' has no exported member 'C'.
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument3.ts(23,28): error TS2314: Generic type 'E<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument3.ts(25,30): error TS2314: Generic type 'C<T>' requires 1 type argument(s).
tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenceWithoutTypeArgument3.ts(26,30): error TS2314: Generic type 'E<T>' requires 1 type argument(s).
@ -57,7 +57,7 @@ tests/cases/conformance/types/specifyingTypes/typeReferences/genericTypeReferenc
}
declare class D2 extends M.C { }
~~~
~
!!! error TS2305: Module 'M' has no exported member 'C'.
declare class D3<T extends M.E> { }
~~~

View file

@ -11,12 +11,12 @@ tests/cases/compiler/getAccessorWithImpliedReturnTypeAndFunctionClassMerge.ts(21
declare function _<T>(value: Array<T>): _<T>;
~
!!! error TS2300: Duplicate identifier '_'.
~~~~
~
!!! error TS2304: Cannot find name '_'.
declare function _<T>(value: T): _<T>;
~
!!! error TS2300: Duplicate identifier '_'.
~~~~
~
!!! error TS2304: Cannot find name '_'.
declare module _ {

View file

@ -1,4 +1,4 @@
tests/cases/compiler/importAnImport.ts(6,5): error TS2305: Module 'c.a.b' has no exported member 'ma'.
tests/cases/compiler/importAnImport.ts(6,23): error TS2305: Module 'c.a.b' has no exported member 'ma'.
==== tests/cases/compiler/importAnImport.ts (1 errors) ====
@ -8,6 +8,6 @@ tests/cases/compiler/importAnImport.ts(6,5): error TS2305: Module 'c.a.b' has no
module m0 {
import m8 = c.a.b.ma;
~~~~~~~~~~~~~~~~~~~~~
~~
!!! error TS2305: Module 'c.a.b' has no exported member 'ma'.
}

View file

@ -1,9 +1,9 @@
tests/cases/compiler/importDeclWithClassModifiers.ts(5,1): error TS2305: Module 'x' has no exported member 'c'.
tests/cases/compiler/importDeclWithClassModifiers.ts(5,8): error TS1044: 'public' modifier cannot appear on a module element.
tests/cases/compiler/importDeclWithClassModifiers.ts(6,1): error TS2305: Module 'x' has no exported member 'c'.
tests/cases/compiler/importDeclWithClassModifiers.ts(5,28): error TS2305: Module 'x' has no exported member 'c'.
tests/cases/compiler/importDeclWithClassModifiers.ts(6,8): error TS1044: 'private' modifier cannot appear on a module element.
tests/cases/compiler/importDeclWithClassModifiers.ts(7,1): error TS2305: Module 'x' has no exported member 'c'.
tests/cases/compiler/importDeclWithClassModifiers.ts(6,29): error TS2305: Module 'x' has no exported member 'c'.
tests/cases/compiler/importDeclWithClassModifiers.ts(7,8): error TS1044: 'static' modifier cannot appear on a module element.
tests/cases/compiler/importDeclWithClassModifiers.ts(7,28): error TS2305: Module 'x' has no exported member 'c'.
==== tests/cases/compiler/importDeclWithClassModifiers.ts (6 errors) ====
@ -12,19 +12,19 @@ tests/cases/compiler/importDeclWithClassModifiers.ts(7,8): error TS1044: 'static
}
}
export public import a = x.c;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'x' has no exported member 'c'.
~~~~~~
!!! error TS1044: 'public' modifier cannot appear on a module element.
export private import b = x.c;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~
!!! error TS2305: Module 'x' has no exported member 'c'.
export private import b = x.c;
~~~~~~~
!!! error TS1044: 'private' modifier cannot appear on a module element.
export static import c = x.c;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~
!!! error TS2305: Module 'x' has no exported member 'c'.
export static import c = x.c;
~~~~~~
!!! error TS1044: 'static' modifier cannot appear on a module element.
~
!!! error TS2305: Module 'x' has no exported member 'c'.
var b: a;

View file

@ -1,6 +1,6 @@
tests/cases/compiler/importDeclWithDeclareModifier.ts(5,1): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
tests/cases/compiler/importDeclWithDeclareModifier.ts(5,1): error TS2305: Module 'x' has no exported member 'c'.
tests/cases/compiler/importDeclWithDeclareModifier.ts(5,9): error TS1029: 'export' modifier must precede 'declare' modifier.
tests/cases/compiler/importDeclWithDeclareModifier.ts(5,29): error TS2305: Module 'x' has no exported member 'c'.
==== tests/cases/compiler/importDeclWithDeclareModifier.ts (3 errors) ====
@ -11,9 +11,9 @@ tests/cases/compiler/importDeclWithDeclareModifier.ts(5,9): error TS1029: 'expor
declare export import a = x.c;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'x' has no exported member 'c'.
~~~~~~
!!! error TS1029: 'export' modifier must precede 'declare' modifier.
~
!!! error TS2305: Module 'x' has no exported member 'c'.
var b: a;

View file

@ -1,4 +1,4 @@
tests/cases/compiler/importDeclWithExportModifier.ts(5,1): error TS2305: Module 'x' has no exported member 'c'.
tests/cases/compiler/importDeclWithExportModifier.ts(5,21): error TS2305: Module 'x' has no exported member 'c'.
==== tests/cases/compiler/importDeclWithExportModifier.ts (1 errors) ====
@ -7,7 +7,7 @@ tests/cases/compiler/importDeclWithExportModifier.ts(5,1): error TS2305: Module
}
}
export import a = x.c;
~~~~~~~~~~~~~~~~~~~~~~
~
!!! error TS2305: Module 'x' has no exported member 'c'.
var b: a;

View file

@ -1,4 +1,4 @@
tests/cases/compiler/importDeclWithExportModifierAndExportAssignment.ts(5,1): error TS2305: Module 'x' has no exported member 'c'.
tests/cases/compiler/importDeclWithExportModifierAndExportAssignment.ts(5,21): error TS2305: Module 'x' has no exported member 'c'.
tests/cases/compiler/importDeclWithExportModifierAndExportAssignment.ts(6,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
@ -8,7 +8,7 @@ tests/cases/compiler/importDeclWithExportModifierAndExportAssignment.ts(6,1): er
}
}
export import a = x.c;
~~~~~~~~~~~~~~~~~~~~~~
~
!!! error TS2305: Module 'x' has no exported member 'c'.
export = x;
~~~~~~~~~~~

View file

@ -17,6 +17,6 @@ tests/cases/compiler/importedModuleAddToGlobal.ts(15,23): error TS2304: Cannot f
module C {
import a = A;
function hello(): b.B { return null; }
~~~
~
!!! error TS2304: Cannot find name 'b'.
}

View file

@ -1,4 +1,4 @@
tests/cases/compiler/innerAliases.ts(19,8): error TS2305: Module 'D' has no exported member 'inner'.
tests/cases/compiler/innerAliases.ts(19,10): error TS2305: Module 'D' has no exported member 'inner'.
tests/cases/compiler/innerAliases.ts(21,11): error TS2339: Property 'inner' does not exist on type 'typeof D'.
@ -22,7 +22,7 @@ tests/cases/compiler/innerAliases.ts(21,11): error TS2339: Property 'inner' does
}
var c: D.inner.Class1;
~~~~~~~~~~~~~~
~~~~~
!!! error TS2305: Module 'D' has no exported member 'inner'.
c = new D.inner.Class1();

View file

@ -8,7 +8,7 @@ tests/cases/compiler/instantiateTypeParameter.ts(3,1): error TS1128: Declaration
var x: T<>;
~~~
!!! error TS1131: Property or signature expected.
~~~
~
!!! error TS2304: Cannot find name 'T'.
}
~

View file

@ -1,4 +1,4 @@
tests/cases/compiler/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.ts(11,8): error TS2305: Module '"tests/cases/compiler/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError".c' has no exported member 'b'.
tests/cases/compiler/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.ts(11,10): error TS2305: Module '"tests/cases/compiler/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError".c' has no exported member 'b'.
==== tests/cases/compiler/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError.ts (1 errors) ====
@ -13,5 +13,5 @@ tests/cases/compiler/internalAliasInterfaceInsideLocalModuleWithoutExportAccessE
}
var x: c.b;
~~~
~
!!! error TS2305: Module '"tests/cases/compiler/internalAliasInterfaceInsideLocalModuleWithoutExportAccessError".c' has no exported member 'b'.

View file

@ -1,4 +1,4 @@
tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.ts(16,15): error TS2305: Module '"tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError".c' has no exported member 'b'.
tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.ts(16,17): error TS2305: Module '"tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError".c' has no exported member 'b'.
==== tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError.ts (1 errors) ====
@ -18,5 +18,5 @@ tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithoutExp
export var z: c.b.I;
~~~~~
~
!!! error TS2305: Module '"tests/cases/compiler/internalAliasUninitializedModuleInsideLocalModuleWithoutExportAccessError".c' has no exported member 'b'.

View file

@ -1,7 +1,7 @@
tests/cases/conformance/internalModules/importDeclarations/invalidImportAliasIdentifiers.ts(5,1): error TS2304: Cannot find name 'V'.
tests/cases/conformance/internalModules/importDeclarations/invalidImportAliasIdentifiers.ts(11,1): error TS2304: Cannot find name 'C'.
tests/cases/conformance/internalModules/importDeclarations/invalidImportAliasIdentifiers.ts(17,1): error TS2304: Cannot find name 'E'.
tests/cases/conformance/internalModules/importDeclarations/invalidImportAliasIdentifiers.ts(23,1): error TS2304: Cannot find name 'I'.
tests/cases/conformance/internalModules/importDeclarations/invalidImportAliasIdentifiers.ts(5,12): error TS2304: Cannot find name 'V'.
tests/cases/conformance/internalModules/importDeclarations/invalidImportAliasIdentifiers.ts(11,12): error TS2304: Cannot find name 'C'.
tests/cases/conformance/internalModules/importDeclarations/invalidImportAliasIdentifiers.ts(17,12): error TS2304: Cannot find name 'E'.
tests/cases/conformance/internalModules/importDeclarations/invalidImportAliasIdentifiers.ts(23,12): error TS2304: Cannot find name 'I'.
==== tests/cases/conformance/internalModules/importDeclarations/invalidImportAliasIdentifiers.ts (4 errors) ====
@ -10,7 +10,7 @@ tests/cases/conformance/internalModules/importDeclarations/invalidImportAliasIde
var V = 12;
import v = V;
~~~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'V'.
class C {
@ -18,7 +18,7 @@ tests/cases/conformance/internalModules/importDeclarations/invalidImportAliasIde
}
import c = C;
~~~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'C'.
enum E {
@ -26,7 +26,7 @@ tests/cases/conformance/internalModules/importDeclarations/invalidImportAliasIde
}
import e = E;
~~~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'E'.
interface I {
@ -34,6 +34,6 @@ tests/cases/conformance/internalModules/importDeclarations/invalidImportAliasIde
}
import i = I;
~~~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'I'.

View file

@ -20,7 +20,7 @@ tests/cases/conformance/internalModules/moduleDeclarations/invalidInstantiatedMo
var m = M2;
var p: m.Point; // Error
~~~~~~~
~
!!! error TS2304: Cannot find name 'm'.

View file

@ -1,4 +1,4 @@
tests/cases/compiler/moduleClassArrayCodeGenTest.ts(10,9): error TS2305: Module 'M' has no exported member 'B'.
tests/cases/compiler/moduleClassArrayCodeGenTest.ts(10,11): error TS2305: Module 'M' has no exported member 'B'.
==== tests/cases/compiler/moduleClassArrayCodeGenTest.ts (1 errors) ====
@ -12,5 +12,5 @@ tests/cases/compiler/moduleClassArrayCodeGenTest.ts(10,9): error TS2305: Module
var t: M.A[] = [];
var t2: M.B[] = [];
~~~
~
!!! error TS2305: Module 'M' has no exported member 'B'.

View file

@ -1,11 +1,14 @@
tests/cases/compiler/moduleImport.ts(2,2): error TS2305: Module 'X' has no exported member 'Y'.
tests/cases/compiler/moduleImport.ts(2,17): error TS2305: Module 'X' has no exported member 'Y'.
tests/cases/compiler/moduleImport.ts(2,17): error TS2339: Property 'Y' does not exist on type 'typeof X'.
==== tests/cases/compiler/moduleImport.ts (1 errors) ====
==== tests/cases/compiler/moduleImport.ts (2 errors) ====
module A.B.C {
import XYZ = X.Y.Z;
~~~~~~~~~~~~~~~~~~~
~
!!! error TS2305: Module 'X' has no exported member 'Y'.
~
!!! error TS2339: Property 'Y' does not exist on type 'typeof X'.
export function ping(x: number) {
if (x>0) XYZ.pong (x-1);
}

View file

@ -1,4 +1,4 @@
tests/cases/compiler/moduleNewExportBug.ts(10,9): error TS2305: Module 'mod1' has no exported member 'C'.
tests/cases/compiler/moduleNewExportBug.ts(10,14): error TS2305: Module 'mod1' has no exported member 'C'.
==== tests/cases/compiler/moduleNewExportBug.ts (1 errors) ====
@ -12,7 +12,7 @@ tests/cases/compiler/moduleNewExportBug.ts(10,9): error TS2305: Module 'mod1' ha
}
var c : mod1.C; // ERROR: C should not be visible
~~~~~~
~
!!! error TS2305: Module 'mod1' has no exported member 'C'.

View file

@ -1,7 +1,7 @@
tests/cases/compiler/moduleVisibilityTest2.ts(57,17): error TS2304: Cannot find name 'x'.
tests/cases/compiler/moduleVisibilityTest2.ts(58,21): error TS2339: Property 'E' does not exist on type 'typeof M'.
tests/cases/compiler/moduleVisibilityTest2.ts(61,14): error TS2305: Module 'M' has no exported member 'I'.
tests/cases/compiler/moduleVisibilityTest2.ts(61,21): error TS2305: Module 'M' has no exported member 'I'.
tests/cases/compiler/moduleVisibilityTest2.ts(61,16): error TS2305: Module 'M' has no exported member 'I'.
tests/cases/compiler/moduleVisibilityTest2.ts(61,23): error TS2305: Module 'M' has no exported member 'I'.
tests/cases/compiler/moduleVisibilityTest2.ts(64,11): error TS2339: Property 'x' does not exist on type 'typeof M'.
tests/cases/compiler/moduleVisibilityTest2.ts(65,15): error TS2339: Property 'E' does not exist on type 'typeof M'.
@ -72,9 +72,9 @@ tests/cases/compiler/moduleVisibilityTest2.ts(65,15): error TS2339: Property 'E'
}
var cprime : M.I = <M.I>null;
~~~
~
!!! error TS2305: Module 'M' has no exported member 'I'.
~~~
~
!!! error TS2305: Module 'M' has no exported member 'I'.
var c = new M.C();

View file

@ -1,6 +1,6 @@
tests/cases/compiler/moduleVisibilityTest3.ts(20,22): error TS2304: Cannot find name 'modes'.
tests/cases/compiler/moduleVisibilityTest3.ts(20,33): error TS2305: Module '_modes' has no exported member 'Mode'.
tests/cases/compiler/moduleVisibilityTest3.ts(21,16): error TS2305: Module '_modes' has no exported member 'Mode'.
tests/cases/compiler/moduleVisibilityTest3.ts(20,39): error TS2305: Module '_modes' has no exported member 'Mode'.
tests/cases/compiler/moduleVisibilityTest3.ts(21,22): error TS2305: Module '_modes' has no exported member 'Mode'.
==== tests/cases/compiler/moduleVisibilityTest3.ts (3 errors) ====
@ -26,10 +26,10 @@ tests/cases/compiler/moduleVisibilityTest3.ts(21,16): error TS2305: Module '_mod
constructor(p1: modes, p2: modes.Mode) {// should be an error on p2 - it's not exported
~~~~~
!!! error TS2304: Cannot find name 'modes'.
~~~~~~~~~~
~~~~
!!! error TS2305: Module '_modes' has no exported member 'Mode'.
var x:modes.Mode;
~~~~~~~~~~
~~~~
!!! error TS2305: Module '_modes' has no exported member 'Mode'.
}

View file

@ -1,5 +1,5 @@
tests/cases/compiler/multipleExportAssignments.ts(13,1): error TS2308: A module cannot have more than one export assignment.
tests/cases/compiler/multipleExportAssignments.ts(14,1): error TS2308: A module cannot have more than one export assignment.
tests/cases/compiler/multipleExportAssignments.ts(13,1): error TS2300: Duplicate identifier 'default'.
tests/cases/compiler/multipleExportAssignments.ts(14,1): error TS2300: Duplicate identifier 'default'.
==== tests/cases/compiler/multipleExportAssignments.ts (2 errors) ====
@ -17,9 +17,9 @@ tests/cases/compiler/multipleExportAssignments.ts(14,1): error TS2308: A module
};
export = server;
~~~~~~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.
export = connectExport;
~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.

View file

@ -1,5 +1,5 @@
tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts(4,5): error TS2308: A module cannot have more than one export assignment.
tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts(5,5): error TS2308: A module cannot have more than one export assignment.
tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts(4,5): error TS2300: Duplicate identifier 'default'.
tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts(5,5): error TS2300: Duplicate identifier 'default'.
==== tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts (2 errors) ====
@ -8,8 +8,8 @@ tests/cases/compiler/multipleExportAssignmentsInAmbientDeclaration.ts(5,5): erro
var b: number;
export = a;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.
export = b;
~~~~~~~~~~~
!!! error TS2308: A module cannot have more than one export assignment.
!!! error TS2300: Duplicate identifier 'default'.
}

View file

@ -1,10 +1,10 @@
tests/cases/conformance/parser/ecmascript5/RegressionTests/parser519458.ts(1,1): error TS2304: Cannot find name 'module'.
tests/cases/conformance/parser/ecmascript5/RegressionTests/parser519458.ts(1,15): error TS2304: Cannot find name 'module'.
tests/cases/conformance/parser/ecmascript5/RegressionTests/parser519458.ts(1,21): error TS1005: ';' expected.
==== tests/cases/conformance/parser/ecmascript5/RegressionTests/parser519458.ts (2 errors) ====
import rect = module("rect"); var bar = new rect.Rect();
~~~~~~~~~~~~~~~~~~~~
~~~~~~
!!! error TS2304: Cannot find name 'module'.
~
!!! error TS1005: ';' expected.

View file

@ -1,10 +1,10 @@
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment1.ts(1,1): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment1.ts(1,1): error TS2304: Cannot find name 'foo'.
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment1.ts(1,10): error TS2304: Cannot find name 'foo'.
==== tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment1.ts (2 errors) ====
export = foo
~~~~~~~~~~~~
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
~~~~~~~~~~~~
~~~
!!! error TS2304: Cannot find name 'foo'.

View file

@ -1,10 +1,10 @@
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment2.ts(1,1): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment2.ts(1,1): error TS2304: Cannot find name 'foo'.
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment2.ts(1,10): error TS2304: Cannot find name 'foo'.
==== tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment2.ts (2 errors) ====
export = foo;
~~~~~~~~~~~~~
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
~~~~~~~~~~~~~
~~~
!!! error TS2304: Cannot find name 'foo'.

View file

@ -2,4 +2,3 @@
export =
//// [parserExportAssignment3.js]
module.exports = ;

View file

@ -2,4 +2,3 @@
export = ;
//// [parserExportAssignment4.js]
module.exports = ;

View file

@ -1,9 +1,9 @@
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment6.ts(2,5): error TS2304: Cannot find name 'A'.
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment6.ts(2,14): error TS2304: Cannot find name 'A'.
==== tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment6.ts (1 errors) ====
declare module "M" {
export = A;
~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'A'.
}

View file

@ -1,6 +1,6 @@
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment7.ts(1,14): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment7.ts(4,1): error TS2304: Cannot find name 'B'.
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment7.ts(4,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment7.ts(4,10): error TS2304: Cannot find name 'B'.
==== tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment7.ts (3 errors) ====
@ -11,6 +11,6 @@ tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignm
export = B;
~~~~~~~~~~~
!!! error TS2304: Cannot find name 'B'.
~~~~~~~~~~~
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.
~
!!! error TS2304: Cannot find name 'B'.

View file

@ -1,6 +1,6 @@
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment8.ts(1,1): error TS1148: Cannot compile external modules unless the '--module' flag is provided.
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment8.ts(1,1): error TS2304: Cannot find name 'B'.
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment8.ts(1,1): error TS2309: An export assignment cannot be used in a module with other exported elements.
tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment8.ts(1,10): error TS2304: Cannot find name 'B'.
==== tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment8.ts (3 errors) ====
@ -8,9 +8,9 @@ tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignm
~~~~~~~~~~~
!!! error TS1148: Cannot compile external modules unless the '--module' flag is provided.
~~~~~~~~~~~
!!! error TS2304: Cannot find name 'B'.
~~~~~~~~~~~
!!! error TS2309: An export assignment cannot be used in a module with other exported elements.
~
!!! error TS2304: Cannot find name 'B'.
export class C {
}

View file

@ -6,6 +6,6 @@ tests/cases/conformance/parser/ecmascript5/Generics/parserGenericConstraint2.ts(
class C<T extends List<T> > {
~~~~~~~~~~~~~~~~~
!!! error TS2313: Constraint of a type parameter cannot reference any type parameter from the same type parameter list.
~~~~~~~
~~~~
!!! error TS2304: Cannot find name 'List'.
}

View file

@ -6,6 +6,6 @@ tests/cases/conformance/parser/ecmascript5/Generics/parserGenericConstraint3.ts(
class C<T extends List<T>> {
~~~~~~~~~~~~~~~~~
!!! error TS2313: Constraint of a type parameter cannot reference any type parameter from the same type parameter list.
~~~~~~~
~~~~
!!! error TS2304: Cannot find name 'List'.
}

View file

@ -6,6 +6,6 @@ tests/cases/conformance/parser/ecmascript5/Generics/parserGenericConstraint4.ts(
class C<T extends List<List<T> > > {
~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2313: Constraint of a type parameter cannot reference any type parameter from the same type parameter list.
~~~~~~~~~~~~~~
~~~~
!!! error TS2304: Cannot find name 'List'.
}

View file

@ -6,6 +6,6 @@ tests/cases/conformance/parser/ecmascript5/Generics/parserGenericConstraint5.ts(
class C<T extends List<List<T>> > {
~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2313: Constraint of a type parameter cannot reference any type parameter from the same type parameter list.
~~~~~~~~~~~~~
~~~~
!!! error TS2304: Cannot find name 'List'.
}

View file

@ -6,6 +6,6 @@ tests/cases/conformance/parser/ecmascript5/Generics/parserGenericConstraint6.ts(
class C<T extends List<List<T> >> {
~~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2313: Constraint of a type parameter cannot reference any type parameter from the same type parameter list.
~~~~~~~~~~~~~~
~~~~
!!! error TS2304: Cannot find name 'List'.
}

View file

@ -6,6 +6,6 @@ tests/cases/conformance/parser/ecmascript5/Generics/parserGenericConstraint7.ts(
class C<T extends List<List<T>>> {
~~~~~~~~~~~~~~~~~~~~~~~
!!! error TS2313: Constraint of a type parameter cannot reference any type parameter from the same type parameter list.
~~~~~~~~~~~~~
~~~~
!!! error TS2304: Cannot find name 'List'.
}

View file

@ -4,7 +4,7 @@ tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInInterfaceDec
==== tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInInterfaceDeclaration1.ts (1 errors) ====
interface I<T> {
v: A<T>;
~~~~
~
!!! error TS2304: Cannot find name 'A'.
f1<T>(): T;
f2?<T>(): T;

View file

@ -12,9 +12,9 @@ tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInTypeContexts
==== tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInTypeContexts1.ts (10 errors) ====
class C extends A<T> implements B<T> {
~~~~
~
!!! error TS2304: Cannot find name 'A'.
~~~~
~
!!! error TS2304: Cannot find name 'B'.
}
@ -22,26 +22,26 @@ tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInTypeContexts
~~~~
!!! error TS2315: Type 'C' is not generic.
var v2: D<T> = null;
~~~~
~
!!! error TS2304: Cannot find name 'D'.
var v3: E.F<T>;
~~~~~~
~
!!! error TS2304: Cannot find name 'E'.
var v3: G.H.I<T>;
~~~~~~~~
~
!!! error TS2304: Cannot find name 'G'.
var v6: K<T>[];
~~~~
~
!!! error TS2304: Cannot find name 'K'.
function f1(a: E<T>) {
~~~~
~
!!! error TS2304: Cannot find name 'E'.
}
function f2(): F<T> {
~~~~
~
!!! error TS2304: Cannot find name 'F'.
~~~~
!!! error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value or consist of a single 'throw' statement.

View file

@ -12,9 +12,9 @@ tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInTypeContexts
==== tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInTypeContexts2.ts (10 errors) ====
class C extends A<X<T>, Y<Z<T>>> implements B<X<T>, Y<Z<T>>> {
~~~~~~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'A'.
~~~~~~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'B'.
}
@ -22,26 +22,26 @@ tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInTypeContexts
~~~~~~~~~~~~~~~~
!!! error TS2315: Type 'C' is not generic.
var v2: D<X<T>, Y<Z<T>>> = null;
~~~~~~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'D'.
var v3: E.F<X<T>, Y<Z<T>>>;
~~~~~~~~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'E'.
var v4: G.H.I<X<T>, Y<Z<T>>>;
~~~~~~~~~~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'G'.
var v6: K<X<T>, Y<Z<T>>>[];
~~~~~~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'K'.
function f1(a: E<X<T>, Y<Z<T>>>) {
~~~~~~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'E'.
}
function f2(): F<X<T>, Y<Z<T>>> {
~~~~~~~~~~~~~~~~
~
!!! error TS2304: Cannot find name 'F'.
~~~~~~~~~~~~~~~~
!!! error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value or consist of a single 'throw' statement.

View file

@ -8,22 +8,22 @@ tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInVariableDecl
==== tests/cases/conformance/parser/ecmascript5/Generics/parserGenericsInVariableDeclaration1.ts (6 errors) ====
var v : Foo<T> = 1;
~~~~~~
~~~
!!! error TS2304: Cannot find name 'Foo'.
var v : Foo<T>= 1;
~~~~~~
~~~
!!! error TS2304: Cannot find name 'Foo'.
var v : Foo<Bar<T>> = 1;
~~~~~~~~~~~
~~~
!!! error TS2304: Cannot find name 'Foo'.
var v : Foo<Bar<T>>= 1;
~~~~~~~~~~~
~~~
!!! error TS2304: Cannot find name 'Foo'.
var v : Foo<Bar<Quux<T>>> = 1;
~~~~~~~~~~~~~~~~~
~~~
!!! error TS2304: Cannot find name 'Foo'.
var v : Foo<Bar<Quux<T>>>= 1;
~~~~~~~~~~~~~~~~~
~~~
!!! error TS2304: Cannot find name 'Foo'.

View file

@ -1,7 +1,7 @@
tests/cases/conformance/parser/ecmascript5/parserImportDeclaration1.ts(1,1): error TS2304: Cannot find name 'TypeScriptServices'.
tests/cases/conformance/parser/ecmascript5/parserImportDeclaration1.ts(1,21): error TS2304: Cannot find name 'TypeScriptServices'.
==== tests/cases/conformance/parser/ecmascript5/parserImportDeclaration1.ts (1 errors) ====
import TypeScript = TypeScriptServices.TypeScript;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScriptServices'.

View file

@ -8,9 +8,9 @@ tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserMissingLambdaOpen
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserMissingLambdaOpenBrace1.ts (5 errors) ====
class C {
where(filter: Iterator<T, boolean>): Query<T> {
~~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Iterator'.
~~~~~~~~
~~~~~
!!! error TS2304: Cannot find name 'Query'.
return fromDoWhile(test =>
~~~~~~~~~~~

View file

@ -1,30 +1,30 @@
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(4,1): error TS6053: File 'tests/cases/conformance/parser/ecmascript5/typescript.ts' not found.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(24,22): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(38,23): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(48,26): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(68,28): error TS2305: Module 'TypeScript' has no exported member 'NodeType'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(24,33): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(38,34): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(48,37): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(68,39): error TS2305: Module 'TypeScript' has no exported member 'NodeType'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(70,35): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(75,21): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(79,21): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(86,36): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(75,32): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(79,32): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(86,47): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(94,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(95,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(96,20): error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(96,31): error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(103,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(104,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(105,20): error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(105,31): error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(112,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(113,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(114,20): error TS2305: Module 'TypeScript' has no exported member 'ArgDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(114,31): error TS2305: Module 'TypeScript' has no exported member 'ArgDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(121,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(122,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(123,20): error TS2305: Module 'TypeScript' has no exported member 'VarDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(123,31): error TS2305: Module 'TypeScript' has no exported member 'VarDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(130,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(131,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(132,20): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(132,31): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(139,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(140,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(141,20): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(141,31): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(148,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(149,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(156,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
@ -35,128 +35,128 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(172,65): error
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(173,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(174,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(175,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(176,20): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(177,20): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(178,20): error TS2305: Module 'TypeScript' has no exported member 'ClassDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(176,31): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(177,31): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(178,31): error TS2305: Module 'TypeScript' has no exported member 'ClassDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(185,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(186,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(191,61): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(192,28): error TS2339: Property 'hasFlag' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(192,38): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(192,49): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(192,109): error TS2339: Property 'ModuleFlags' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(197,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(198,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(199,20): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(199,31): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(200,28): error TS2339: Property 'hasFlag' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(200,38): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(200,49): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(200,113): error TS2339: Property 'ModuleFlags' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(205,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(206,20): error TS2305: Module 'TypeScript' has no exported member 'Script'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(206,31): error TS2305: Module 'TypeScript' has no exported member 'Script'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(211,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(212,20): error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(212,31): error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(217,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(218,20): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(218,31): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(223,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(224,20): error TS2305: Module 'TypeScript' has no exported member 'ClassDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(224,31): error TS2305: Module 'TypeScript' has no exported member 'ClassDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(229,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(230,20): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(230,31): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(235,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(236,20): error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(236,31): error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(241,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(242,19): error TS2305: Module 'TypeScript' has no exported member 'Block'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(242,30): error TS2305: Module 'TypeScript' has no exported member 'Block'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(247,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(248,19): error TS2305: Module 'TypeScript' has no exported member 'ForStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(248,30): error TS2305: Module 'TypeScript' has no exported member 'ForStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(253,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(254,19): error TS2305: Module 'TypeScript' has no exported member 'CaseStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(254,30): error TS2305: Module 'TypeScript' has no exported member 'CaseStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(259,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(260,19): error TS2305: Module 'TypeScript' has no exported member 'Try'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(260,30): error TS2305: Module 'TypeScript' has no exported member 'Try'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(265,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(266,19): error TS2305: Module 'TypeScript' has no exported member 'Catch'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(266,30): error TS2305: Module 'TypeScript' has no exported member 'Catch'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(271,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(272,19): error TS2305: Module 'TypeScript' has no exported member 'DoWhileStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(272,30): error TS2305: Module 'TypeScript' has no exported member 'DoWhileStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(277,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(278,19): error TS2305: Module 'TypeScript' has no exported member 'WhileStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(278,30): error TS2305: Module 'TypeScript' has no exported member 'WhileStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(283,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(284,19): error TS2305: Module 'TypeScript' has no exported member 'ForInStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(284,30): error TS2305: Module 'TypeScript' has no exported member 'ForInStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(289,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(290,19): error TS2305: Module 'TypeScript' has no exported member 'WithStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(290,30): error TS2305: Module 'TypeScript' has no exported member 'WithStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(295,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(296,19): error TS2305: Module 'TypeScript' has no exported member 'Finally'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(296,30): error TS2305: Module 'TypeScript' has no exported member 'Finally'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(301,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(302,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(303,19): error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(303,30): error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(308,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(309,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(310,19): error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(311,19): error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(310,30): error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(311,30): error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(316,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(317,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(318,19): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(318,30): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(327,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(328,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(329,19): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(330,19): error TS2305: Module 'TypeScript' has no exported member 'ASTList'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(329,30): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(330,30): error TS2305: Module 'TypeScript' has no exported member 'ASTList'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(335,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(336,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(337,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(338,19): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(338,30): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(343,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(344,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(345,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(346,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(347,19): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(347,30): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(352,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(353,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(354,19): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(354,30): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(359,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(360,19): error TS2305: Module 'TypeScript' has no exported member 'BinaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(360,30): error TS2305: Module 'TypeScript' has no exported member 'BinaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(365,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(366,19): error TS2305: Module 'TypeScript' has no exported member 'BinaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(366,30): error TS2305: Module 'TypeScript' has no exported member 'BinaryExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(371,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(377,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(378,19): error TS2305: Module 'TypeScript' has no exported member 'IfStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(378,30): error TS2305: Module 'TypeScript' has no exported member 'IfStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(383,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(384,19): error TS2305: Module 'TypeScript' has no exported member 'IfStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(384,30): error TS2305: Module 'TypeScript' has no exported member 'IfStatement'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(393,61): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(394,19): error TS2305: Module 'TypeScript' has no exported member 'ASTList'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(394,30): error TS2305: Module 'TypeScript' has no exported member 'ASTList'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(399,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(400,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(401,19): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(401,30): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(406,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(407,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(408,19): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(408,30): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(413,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(414,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(415,19): error TS2305: Module 'TypeScript' has no exported member 'CallExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(415,30): error TS2305: Module 'TypeScript' has no exported member 'CallExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(420,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(421,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(422,19): error TS2305: Module 'TypeScript' has no exported member 'CallExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(422,30): error TS2305: Module 'TypeScript' has no exported member 'CallExpression'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(427,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(428,19): error TS2305: Module 'TypeScript' has no exported member 'Block'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(432,41): error TS2305: Module 'TypeScript' has no exported member 'ASTSpan'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(462,50): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(463,41): error TS2305: Module 'TypeScript' has no exported member 'Comment'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(478,34): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(478,58): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(428,30): error TS2305: Module 'TypeScript' has no exported member 'Block'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(432,52): error TS2305: Module 'TypeScript' has no exported member 'ASTSpan'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(462,61): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(463,52): error TS2305: Module 'TypeScript' has no exported member 'Comment'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(478,45): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(478,69): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(478,82): error TS2304: Cannot find name 'IAstWalker'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(489,21): error TS2304: Cannot find name 'hasFlag'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(490,49): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(516,22): error TS2304: Cannot find name 'hasFlag'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(525,20): error TS2339: Property 'getAstWalkerFactory' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(533,51): error TS2305: Module 'TypeScript' has no exported member 'Script'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,25): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,49): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,73): error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,97): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(533,62): error TS2305: Module 'TypeScript' has no exported member 'Script'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,36): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,60): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,84): error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,108): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(551,20): error TS2339: Property 'getAstWalkerFactory' does not exist on type 'typeof TypeScript'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(558,34): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(558,84): error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(559,34): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(559,58): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(559,82): error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(565,35): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(565,59): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(565,83): error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(558,45): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(558,95): error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(559,45): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(559,69): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(559,93): error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(565,46): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(565,70): error TS2305: Module 'TypeScript' has no exported member 'AST'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(565,94): error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error TS2339: Property 'getAstWalkerFactory' does not exist on type 'typeof TypeScript'.
@ -187,7 +187,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
//
export class AstPath {
public asts: TypeScript.AST[] = [];
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
public top: number = -1;
@ -203,7 +203,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
}
public pop(): TypeScript.AST {
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
var head = this.ast();
this.up();
@ -215,7 +215,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
}
public push(ast: TypeScript.AST) {
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
while (this.asts.length > this.count()) {
this.asts.pop();
@ -237,7 +237,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
}
public nodeType(): TypeScript.NodeType {
~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'NodeType'.
if (this.ast() == null)
return TypeScript.NodeType.None;
@ -248,13 +248,13 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
public ast() {
return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, this.asts.length - (this.top + 1));
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
}
public parent() {
return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, this.asts.length - this.top);
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
}
@ -263,7 +263,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
}
public get(index: number): TypeScript.AST {
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
return this.asts[index];
}
@ -279,7 +279,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
((<TypeScript.InterfaceDeclaration>this.parent()).name === this.ast());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
}
@ -294,7 +294,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
((<TypeScript.InterfaceDeclaration>this.parent()).name === this.ast());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
}
@ -309,7 +309,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
((<TypeScript.ArgDecl>this.parent()).id === this.ast());
~~~~~~~~~~~~~~~~~~
~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'ArgDecl'.
}
@ -324,7 +324,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
((<TypeScript.VarDecl>this.parent()).id === this.ast());
~~~~~~~~~~~~~~~~~~
~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'VarDecl'.
}
@ -339,7 +339,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
((<TypeScript.ModuleDeclaration>this.parent()).name === this.ast());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
}
@ -354,7 +354,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
((<TypeScript.FuncDecl>this.parent()).name === this.ast());
~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
}
@ -411,13 +411,13 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
((<TypeScript.FuncDecl>this.asts[this.top - 2]).isConstructor) &&
~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
((<TypeScript.FuncDecl>this.asts[this.top - 2]).arguments === this.asts[this.top - 1]) &&
~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
((<TypeScript.ClassDeclaration>this.asts[this.top - 4]).constructorDecl === this.asts[this.top - 2]);
~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'ClassDeclaration'.
}
@ -441,7 +441,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
TypeScript.hasFlag((<TypeScript.ModuleDeclaration>this.asts[this.top]).modFlags, TypeScript.ModuleFlags.IsWholeFile);
~~~~~~~
!!! error TS2339: Property 'hasFlag' does not exist on type 'typeof TypeScript'.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
~~~~~~~~~~~
!!! error TS2339: Property 'ModuleFlags' does not exist on type 'typeof TypeScript'.
@ -456,12 +456,12 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.ModuleDeclaration>this.asts[this.top - 1]).members == this.asts[this.top - 0] &&
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
TypeScript.hasFlag((<TypeScript.ModuleDeclaration>this.asts[this.top - 1]).modFlags, TypeScript.ModuleFlags.IsWholeFile);
~~~~~~~
!!! error TS2339: Property 'hasFlag' does not exist on type 'typeof TypeScript'.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
~~~~~~~~~~~
!!! error TS2339: Property 'ModuleFlags' does not exist on type 'typeof TypeScript'.
@ -473,7 +473,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.Script>this.asts[this.top - 1]).bod == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~
~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'Script'.
}
@ -483,7 +483,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.SwitchStatement>this.asts[this.top - 1]).caseList == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
}
@ -493,7 +493,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.ModuleDeclaration>this.asts[this.top - 1]).members == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
}
@ -503,7 +503,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.ClassDeclaration>this.asts[this.top - 1]).members == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'ClassDeclaration'.
}
@ -513,7 +513,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.FuncDecl>this.asts[this.top - 1]).bod == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
}
@ -523,7 +523,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.InterfaceDeclaration>this.asts[this.top - 1]).members == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
}
@ -533,7 +533,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.Block>this.asts[this.top - 1]).statements == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~
~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'Block'.
}
@ -543,7 +543,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.ForStatement>this.asts[this.top - 1]).body == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'ForStatement'.
}
@ -553,7 +553,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.CaseStatement>this.asts[this.top - 1]).body == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'CaseStatement'.
}
@ -563,7 +563,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.Try>this.asts[this.top - 1]).body == this.asts[this.top - 0];
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'Try'.
}
@ -573,7 +573,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.Catch>this.asts[this.top - 1]).body == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~
~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'Catch'.
}
@ -583,7 +583,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.DoWhileStatement>this.asts[this.top - 1]).body == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'DoWhileStatement'.
}
@ -593,7 +593,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.WhileStatement>this.asts[this.top - 1]).body == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'WhileStatement'.
}
@ -603,7 +603,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.ForInStatement>this.asts[this.top - 1]).body == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'ForInStatement'.
}
@ -613,7 +613,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.WithStatement>this.asts[this.top - 1]).body == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'WithStatement'.
}
@ -623,7 +623,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.Finally>this.asts[this.top - 1]).body == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~
~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'Finally'.
}
@ -636,7 +636,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.SwitchStatement>this.asts[this.top - 2]).caseList == this.asts[this.top - 1];
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
}
@ -649,10 +649,10 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.SwitchStatement>this.asts[this.top - 2]).caseList == this.asts[this.top - 1] &&
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
(<TypeScript.SwitchStatement>this.asts[this.top - 2]).defaultCase == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
}
@ -665,7 +665,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.UnaryExpression>this.asts[this.top - 1]).operand == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
}
@ -682,10 +682,10 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.UnaryExpression>this.asts[this.top - 1]).operand == this.asts[this.top - 0] &&
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
(<TypeScript.ASTList>this.asts[this.top - 0]).members.length == 0;
~~~~~~~~~~~~~~~~~~
~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'ASTList'.
}
@ -701,7 +701,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.UnaryExpression>this.asts[this.top - 2]).operand == this.asts[this.top - 1];
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
}
@ -720,7 +720,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.UnaryExpression>this.asts[this.top - 3]).operand == this.asts[this.top - 2];
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
}
@ -733,7 +733,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.UnaryExpression>this.asts[this.top - 1]).operand == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
}
@ -743,7 +743,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.BinaryExpression>this.asts[this.top - 1]).operand1 === this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'BinaryExpression'.
}
@ -753,7 +753,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.BinaryExpression>this.asts[this.top - 1]).operand2 === this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'BinaryExpression'.
}
@ -771,7 +771,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.IfStatement>this.asts[this.top - 1]).thenBod == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'IfStatement'.
}
@ -781,7 +781,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.IfStatement>this.asts[this.top - 1]).elseBod == this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'IfStatement'.
}
@ -795,7 +795,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.ASTList>this.asts[this.top]).members.length === 1;
~~~~~~~~~~~~~~~~~~
~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'ASTList'.
}
@ -808,7 +808,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.FuncDecl>this.asts[this.top - 1]).arguments === this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
}
@ -821,7 +821,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.FuncDecl>this.asts[this.top - 2]).arguments === this.asts[this.top - 1];
~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
}
@ -834,7 +834,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.CallExpression>this.asts[this.top - 1]).arguments === this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'CallExpression'.
}
@ -847,7 +847,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.CallExpression>this.asts[this.top - 1]).arguments === this.asts[this.top - 0];
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'CallExpression'.
}
@ -857,13 +857,13 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
~~~~~~~~
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
(<TypeScript.Block>this.asts[this.top - 0]).isStatementBlock === false;
~~~~~~~~~~~~~~~~
~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'Block'.
}
}
export function isValidAstNode(ast: TypeScript.ASTSpan): boolean {
~~~~~~~~~~~~~~~~~~
~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'ASTSpan'.
if (ast === null)
return false;
@ -895,10 +895,10 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
/// Return the stack of AST nodes containing "position"
///
export function getAstPathToPosition(script: TypeScript.AST, pos: number, options = GetAstPathOptions.Default): TypeScript.AstPath {
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
var lookInComments = (comments: TypeScript.Comment[]) => {
~~~~~~~~~~~~~~~~~~
~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'Comment'.
if (comments && comments.length > 0) {
for (var i = 0; i < comments.length; i++) {
@ -915,9 +915,9 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
}
var pre = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: IAstWalker) {
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
~~~~~~~~~~
!!! error TS2304: Cannot find name 'IAstWalker'.
@ -984,17 +984,17 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
// This is used when "position" might be inside a comment or string, etc.
//
export function getTokenizationOffset(script: TypeScript.Script, position: number): number {
~~~~~~~~~~~~~~~~~
~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'Script'.
var bestOffset = 0;
var pre = (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker): TypeScript.AST => {
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
if (TypeScript.isValidAstNode(cur)) {
// Did we find a closer offset?
@ -1021,16 +1021,16 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
/// Simple function to Walk an AST using a simple callback function.
///
export function walkAST(ast: TypeScript.AST, callback: (path: AstPath, walker: TypeScript.IAstWalker) => void ): void {
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
var pre = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) {
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
var path: TypeScript.AstPath = walker.state;
path.push(cur);
@ -1038,11 +1038,11 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
return cur;
}
var post = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) {
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
~~~~~~~~~~~~~~
~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
var path: TypeScript.AstPath = walker.state;
path.pop();

View file

@ -5,7 +5,7 @@ tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens20.t
==== tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens20.ts (3 errors) ====
var v: X<T \
~~~~~
~
!!! error TS2304: Cannot find name 'X'.
!!! error TS1127: Invalid character.

View file

@ -6,10 +6,9 @@ tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserUnfinishedTypeNam
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserUnfinishedTypeNameBeforeKeyword1.ts (4 errors) ====
var x: TypeModule1.
~~~~~~~~~~~~
module TypeModule2 {
~~~~~~
~~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeModule1'.
module TypeModule2 {
~~~~~~~~~~~
!!! error TS1005: '=' expected.
~~~~~~~~~~~

View file

@ -6,9 +6,9 @@ tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserUnterminatedGener
==== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserUnterminatedGeneric1.ts (3 errors) ====
interface IQService {
all(promises: IPromise < any > []): IPromise<
~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'IPromise'.
~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'IPromise'.
!!! error TS1005: '>' expected.

View file

@ -48,9 +48,9 @@ tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserUnterminatedGener
interface IQService {
all(promises: IPromise < any > []): IPromise<
~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'IPromise'.
~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'IPromise'.
!!! error TS1005: '>' expected.

View file

@ -13,7 +13,7 @@ tests/cases/conformance/parser/ecmascript5/VariableDeclarations/parserVariableDe
~~~~~~~
!!! error TS2304: Cannot find name 'Harness'.
, compiler = <TypeScript.TypeScriptCompiler>new TypeScript.TypeScriptCompiler(outerr)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.

View file

@ -2,7 +2,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(16,1): err
tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(17,1): error TS6053: File 'tests/cases/conformance/parser/ecmascript5/compiler/typescript.ts' not found.
tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(18,1): error TS6053: File 'tests/cases/conformance/parser/ecmascript5/services/typescriptServices.ts' not found.
tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(19,1): error TS6053: File 'tests/cases/conformance/parser/ecmascript5/RealWorld/diff.ts' not found.
tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(21,21): error TS2305: Module 'Harness' has no exported member 'Assert'.
tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(21,29): error TS2305: Module 'Harness' has no exported member 'Assert'.
tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(25,17): error TS2304: Cannot find name 'IIO'.
tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(41,12): error TS2304: Cannot find name 'ActiveXObject'.
tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(43,19): error TS2304: Cannot find name 'require'.
@ -140,7 +140,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
!!! error TS6053: File 'diff.ts' not found.
declare var assert: Harness.Assert;
~~~~~~~~~~~~~~
~~~~~~
!!! error TS2305: Module 'Harness' has no exported member 'Assert'.
declare var it;
declare var describe;
@ -857,7 +857,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
/** Mimics having multiple files, later concatenated to a single file. */
export class EmitterIOHost implements TypeScript.EmitterIOHost {
~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
private fileCollection = {};
@ -913,7 +913,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
}
export function makeDefaultCompilerForTest(c?: TypeScript.TypeScriptCompiler) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
var compiler = c || new TypeScript.TypeScriptCompiler(stderr);
~~~~~~~~~~
@ -940,7 +940,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
}
var compiler: TypeScript.TypeScriptCompiler;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
recreate();
@ -1156,7 +1156,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
!!! error TS2304: Cannot find name 'TypeScript'.
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
@ -1174,7 +1174,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
else {
for (var m = 0; m < compiler.scripts.members.length; m++) {
var script2 = <TypeScript.Script>compiler.scripts.members[m];
~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
if (script2.locationInfo.filename !== 'lib.d.ts') {
if (targetPosition > -1) {
@ -1218,7 +1218,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
}
private getTypeInfoName(ast : TypeScript.AST) {
~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
var name = '';
switch (ast.nodeType) {
@ -1262,7 +1262,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
name = (<TypeScript.RegexLiteral>ast).text;
~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
break;
case TypeScript.NodeType.QString:
@ -1274,7 +1274,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
name = (<TypeScript.NumberLiteral>ast).text;
~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
break;
case TypeScript.NodeType.Return:
@ -1286,30 +1286,30 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
name = (<TypeScript.InterfaceDeclaration>ast).name.actualText;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
break;
case TypeScript.NodeType.ModuleDeclaration:
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
name = (<TypeScript.ModuleDeclaration>ast).name.actualText;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
break;
case TypeScript.NodeType.ClassDeclaration:
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
name = (<TypeScript.ClassDeclaration>ast).name.actualText;
~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
break;
case TypeScript.NodeType.FuncDecl:
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
name = !(<TypeScript.FuncDecl>ast).name ? "" : (<TypeScript.FuncDecl>ast).name.actualText; // name == null for lambdas
~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
break;
default:
@ -1338,7 +1338,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
* @param references the set of referenced files used by the given code
*/
export function generateDeclFile(code: string, verifyNoDeclFile: boolean, unitName?: string, compilationContext?: Harness.Compiler.CompilationContext, references?: TypeScript.IFileReference[]): string {
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
reset();
@ -1409,7 +1409,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
/** @param fileResults an array of strings for the filename and an ITextWriter with its code */
constructor(public fileResults: { filename: string; file: WriterAggregator; }[], errorLines: string[], public scripts: TypeScript.Script[]) {
~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
var lines = [];
fileResults.forEach(v => lines = lines.concat(v.file.lines));
@ -1493,10 +1493,10 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
}
export function addUnit(code: string, unitName?: string, isResident?: boolean, isDeclareFile?: boolean, references?: TypeScript.IFileReference[]) {
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
var script: TypeScript.Script = null;
~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
var uName = unitName || '0' + (isDeclareFile ? '.d.ts' : '.ts');
@ -1504,7 +1504,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
if (compiler.units[i].filename === uName) {
updateUnit(code, uName);
script = <TypeScript.Script>compiler.scripts.members[i];
~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
}
}
@ -1531,9 +1531,9 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
}
export function compileFile(path: string, callback: (res: CompilerResult) => void , settingsCallback?: (settings?: TypeScript.CompilationSettings) => void , context?: CompilationContext, references?: TypeScript.IFileReference[]) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
path = switchToForwardSlashes(path);
var filename = path.match(/[^\/]*$/)[0];
@ -1543,9 +1543,9 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
}
export function compileUnit(code: string, filename: string, callback: (res: CompilerResult) => void , settingsCallback?: (settings?: TypeScript.CompilationSettings) => void , context?: CompilationContext, references?: TypeScript.IFileReference[]) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
// not recursive
function clone/* <T> */(source: any, target: any) {
@ -1603,16 +1603,16 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
}
export function emit(ioHost: TypeScript.EmitterIOHost, usePullEmitter?: boolean) {
~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
compiler.emit(ioHost, usePullEmitter);
}
export function compileString(code: string, unitName: string, callback: (res: Compiler.CompilerResult) => void , context?: CompilationContext, references?: TypeScript.IFileReference[]) {
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
var scripts: TypeScript.Script[] = [];
~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
reset();
@ -1695,7 +1695,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
name: string;
originalFilePath: string;
references: TypeScript.IFileReference[];
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
}
@ -1738,7 +1738,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
var currentFileOptions = {};
var currentFileName = null;
var refs: TypeScript.IFileReference[] = [];
~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
for (var i = 0; i < lines.length; i++) {
@ -1831,7 +1831,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
export class ScriptInfo {
public version: number;
public editRanges: { length: number; editRange: TypeScript.ScriptEditRange; }[] = [];
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
constructor(public name: string, public content: string, public isResident: boolean, public maxScriptVersions: number) {
@ -1869,7 +1869,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
}
public getEditRangeSinceVersion(version: number): TypeScript.ScriptEditRange {
~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
if (this.version == version) {
// No edits!
@ -1897,10 +1897,10 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
}
export class TypeScriptLS implements Services.ILanguageServiceShimHost {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Services'.
private ls: Services.ILanguageServiceShim = null;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Services'.
public scripts: ScriptInfo[] = [];
@ -2002,7 +2002,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
* To access the non-shim (i.e. actual) language service, use the "ls.languageService" property.
*/
public getLanguageService(): Services.ILanguageServiceShim {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Services'.
var ls = new Services.TypeScriptServicesFactory().createLanguageServiceShim(this);
~~~~~~~~
@ -2014,9 +2014,9 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
/** Parse file given its source text */
public parseSourceText(fileName: string, sourceText: TypeScript.ISourceText): TypeScript.Script {
~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
var parser = new TypeScript.Parser();
~~~~~~~~~~
@ -2057,7 +2057,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
* @param col 0 based index
*/
public positionToZeroBasedLineCol(fileName: string, position: number): TypeScript.ILineCol {
~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
var script = this.ls.languageService.getScriptAST(fileName);
assert.notNull(script);
@ -2073,7 +2073,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
/** Verify that applying edits to sourceFileName result in the content of the file baselineFileName */
public checkEdits(sourceFileName: string, baselineFileName: string, edits: Services.TextEdit[]) {
~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Services'.
var script = readFile(sourceFileName);
var formattedScript = this.applyEdits(script, edits);
@ -2086,7 +2086,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
/** Apply an array of text edits to a string, and return the resulting string. */
public applyEdits(content: string, edits: Services.TextEdit[]): string {
~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Services'.
var result = content;
edits = this.normalizeEdits(edits);
@ -2103,18 +2103,18 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserharness.ts(2030,32):
/** Normalize an array of edits by removing overlapping entries and sorting entries on the minChar position. */
private normalizeEdits(edits: Services.TextEdit[]): Services.TextEdit[] {
~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Services'.
~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Services'.
var result: Services.TextEdit[] = [];
~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Services'.
function mapEdits(edits: Services.TextEdit[]): { edit: Services.TextEdit; index: number; }[] {
~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Services'.
~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Services'.
var result = [];
for (var i = 0; i < edits.length; i++) {

View file

@ -164,7 +164,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserindenter.ts(736,38):
constructor(
public logger: TypeScript.ILogger,
~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScript'.
public tree: ParseTree,
~~~~~~~~~
@ -174,7 +174,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserindenter.ts(736,38):
!!! error TS2304: Cannot find name 'ITextSnapshot'.
public languageHostIndentation: string,
public editorOptions: Services.EditorOptions,
~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Services'.
public firstToken: TokenSpan,
~~~~~~~~~
@ -369,7 +369,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserindenter.ts(736,38):
}
static GetIndentSizeFromIndentText(indentText: string, editorOptions: Services.EditorOptions): number {
~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Services'.
return GetIndentSizeFromText(indentText, editorOptions, /*includeNonIndentChars:*/ false);
~~~~~~~~~~~~~~~~~~~~~
@ -377,7 +377,7 @@ tests/cases/conformance/parser/ecmascript5/RealWorld/parserindenter.ts(736,38):
}
static GetIndentSizeFromText(text: string, editorOptions: Services.EditorOptions, includeNonIndentChars: boolean): number {
~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~
!!! error TS2304: Cannot find name 'Services'.
var indentSize = 0;

View file

@ -5,7 +5,7 @@ tests/cases/conformance/parser/ecmascript5/parservoidInQualifiedName2.ts(1,15):
==== tests/cases/conformance/parser/ecmascript5/parservoidInQualifiedName2.ts (3 errors) ====
var v : x.void;
~~
~
!!! error TS2304: Cannot find name 'x'.
~~~~
!!! error TS1003: Identifier expected.

View file

@ -16,6 +16,6 @@ tests/cases/compiler/primaryExpressionMods.ts(11,8): error TS2304: Cannot find n
var x1 = M.a; // Used as PrimaryExpression
var x2 = m.a; // Same as M.a
var q: m.P; // Error
~~~
~
!!! error TS2304: Cannot find name 'm'.

View file

@ -12,9 +12,9 @@ interface Foo<T> {
>T : T
}
var Foo: new () => Foo.A<Foo<string>>;
>Foo : new () => Foo.A<Foo<string>>
>Foo : new () => default.A<Foo<string>>
>Foo : unknown
>A : Foo.A<T>
>A : default.A<T>
>Foo : Foo<T>
export = Foo;

View file

@ -21,7 +21,7 @@ test.ts(3,8): error TS2304: Cannot find name 'Array'.
/// <reference no-default-lib="true"/>
var x: Array<number>;
~~~~~~~~~~~~~
~~~~~
!!! error TS2304: Cannot find name 'Array'.

View file

@ -21,7 +21,7 @@ test.ts(3,8): error TS2304: Cannot find name 'Array'.
/// <reference no-default-lib="true"/>
var x: Array<number>;
~~~~~~~~~~~~~
~~~~~
!!! error TS2304: Cannot find name 'Array'.

View file

@ -4,7 +4,7 @@ tests/cases/compiler/protoAssignment.ts(2,26): error TS2304: Cannot find name 'C
==== tests/cases/compiler/protoAssignment.ts (1 errors) ====
interface Number extends Comparable<number> {
~~~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'Comparable'.
compareTo(other: number);

View file

@ -1,4 +1,4 @@
tests/cases/compiler/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.ts(5,20): error TS2305: Module 'Alpha' has no exported member 'x'.
tests/cases/compiler/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.ts(5,26): error TS2305: Module 'Alpha' has no exported member 'x'.
==== tests/cases/compiler/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.ts (1 errors) ====
@ -7,6 +7,6 @@ tests/cases/compiler/qualifiedName_entity-name-resolution-does-not-affect-class-
}
class Beta extends Alpha.x {
~~~~~~~
~
!!! error TS2305: Module 'Alpha' has no exported member 'x'.
}

View file

@ -14,8 +14,7 @@ import ClassB = require("recursiveExportAssignmentAndFindAliasedType4_moduleB");
export var b: ClassB; // This should result in type ClassB
//// [recursiveExportAssignmentAndFindAliasedType4_moduleC.js]
define(["require", "exports", "recursiveExportAssignmentAndFindAliasedType4_moduleC"], function (require, exports, self) {
return self;
define(["require", "exports"], function (require, exports) {
});
//// [recursiveExportAssignmentAndFindAliasedType4_moduleB.js]
define(["require", "exports"], function (require, exports) {

View file

@ -18,12 +18,10 @@ import ClassB = require("recursiveExportAssignmentAndFindAliasedType5_moduleB");
export var b: ClassB; // This should result in type ClassB
//// [recursiveExportAssignmentAndFindAliasedType5_moduleD.js]
define(["require", "exports", "recursiveExportAssignmentAndFindAliasedType5_moduleC"], function (require, exports, self) {
return self;
define(["require", "exports"], function (require, exports) {
});
//// [recursiveExportAssignmentAndFindAliasedType5_moduleC.js]
define(["require", "exports", "recursiveExportAssignmentAndFindAliasedType5_moduleD"], function (require, exports, self) {
return self;
define(["require", "exports"], function (require, exports) {
});
//// [recursiveExportAssignmentAndFindAliasedType5_moduleB.js]
define(["require", "exports"], function (require, exports) {

View file

@ -22,16 +22,13 @@ import ClassB = require("recursiveExportAssignmentAndFindAliasedType6_moduleB");
export var b: ClassB; // This should result in type ClassB
//// [recursiveExportAssignmentAndFindAliasedType6_moduleE.js]
define(["require", "exports", "recursiveExportAssignmentAndFindAliasedType6_moduleC"], function (require, exports, self) {
return self;
define(["require", "exports"], function (require, exports) {
});
//// [recursiveExportAssignmentAndFindAliasedType6_moduleD.js]
define(["require", "exports", "recursiveExportAssignmentAndFindAliasedType6_moduleE"], function (require, exports, self) {
return self;
define(["require", "exports"], function (require, exports) {
});
//// [recursiveExportAssignmentAndFindAliasedType6_moduleC.js]
define(["require", "exports", "recursiveExportAssignmentAndFindAliasedType6_moduleD"], function (require, exports, self) {
return self;
define(["require", "exports"], function (require, exports) {
});
//// [recursiveExportAssignmentAndFindAliasedType6_moduleB.js]
define(["require", "exports"], function (require, exports) {

View file

@ -15,7 +15,7 @@ tests/cases/compiler/recursiveTypeComparison2.ts(13,80): error TS2304: Cannot fi
log(): Observable<T>;
combine<U, V>(other: Observable<U>, f: (a: T, b: U) => V): Property<V>;
withStateMachine<U, V>(initState: U, f: (state: U, event: Event<T>) => StateValue<U, V>): EventStream<V>;
~~~~~~~~~~~~~~~~
~~~~~~~~~~
!!! error TS2304: Cannot find name 'StateValue'.
decode(mapping: Object): Property<any>;
awaiting<U>(other: Observable<U>): Property<boolean>;

View file

@ -1,7 +1,7 @@
tests/cases/conformance/scanner/ecmascript5/scannerImportDeclaration1.ts(1,1): error TS2304: Cannot find name 'TypeScriptServices'.
tests/cases/conformance/scanner/ecmascript5/scannerImportDeclaration1.ts(1,21): error TS2304: Cannot find name 'TypeScriptServices'.
==== tests/cases/conformance/scanner/ecmascript5/scannerImportDeclaration1.ts (1 errors) ====
import TypeScript = TypeScriptServices.TypeScript;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~
!!! error TS2304: Cannot find name 'TypeScriptServices'.

View file

@ -1,4 +1,4 @@
tests/cases/compiler/sourceMapSample.ts(14,37): error TS2305: Module 'Foo.Bar' has no exported member 'Greeter'.
tests/cases/compiler/sourceMapSample.ts(14,45): error TS2305: Module 'Foo.Bar' has no exported member 'Greeter'.
==== tests/cases/compiler/sourceMapSample.ts (1 errors) ====
@ -16,7 +16,7 @@ tests/cases/compiler/sourceMapSample.ts(14,37): error TS2305: Module 'Foo.Bar' h
function foo(greeting: string): Foo.Bar.Greeter {
~~~~~~~~~~~~~~~
~~~~~~~
!!! error TS2305: Module 'Foo.Bar' has no exported member 'Greeter'.
return new Greeter(greeting);
}

View file

@ -1,9 +1,9 @@
tests/cases/compiler/undeclaredBase.ts(1,35): error TS2305: Module 'M' has no exported member 'I'.
tests/cases/compiler/undeclaredBase.ts(1,37): error TS2305: Module 'M' has no exported member 'I'.
==== tests/cases/compiler/undeclaredBase.ts (1 errors) ====
module M { export class C extends M.I { } }
~~~
~
!!! error TS2305: Module 'M' has no exported member 'I'.

View file

@ -7,7 +7,7 @@ tests/cases/compiler/unknownSymbols2.ts(15,13): error TS2304: Cannot find name '
tests/cases/compiler/unknownSymbols2.ts(16,14): error TS2304: Cannot find name 'qwerty'.
tests/cases/compiler/unknownSymbols2.ts(22,19): error TS2304: Cannot find name 'asdf'.
tests/cases/compiler/unknownSymbols2.ts(23,32): error TS2304: Cannot find name 'qwerty'.
tests/cases/compiler/unknownSymbols2.ts(29,5): error TS2304: Cannot find name 'asdf'.
tests/cases/compiler/unknownSymbols2.ts(29,16): error TS2304: Cannot find name 'asdf'.
==== tests/cases/compiler/unknownSymbols2.ts (10 errors) ====
@ -58,6 +58,6 @@ tests/cases/compiler/unknownSymbols2.ts(29,5): error TS2304: Cannot find name 'a
}
import c = N;
import d = asdf;
~~~~~~~~~~~~~~~~
~~~~
!!! error TS2304: Cannot find name 'asdf'.
}