mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-13 16:10:06 -06:00
Accepted baselines.
This commit is contained in:
parent
c4500bd442
commit
f675798c08
@ -7,6 +7,7 @@ tests/cases/conformance/statements/for-ofStatements/ES5For-of17.ts(3,20): error
|
||||
for (let v of [v]) {
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'v' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/statements/for-ofStatements/ES5For-of17.ts:3:14: 'v' was declared here.
|
||||
var x = v;
|
||||
v++;
|
||||
}
|
||||
|
||||
@ -8,6 +8,7 @@ tests/cases/conformance/statements/for-ofStatements/ES5For-of20.ts(4,15): error
|
||||
for (let v of [v]) {
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'v' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/statements/for-ofStatements/ES5For-of20.ts:3:14: 'v' was declared here.
|
||||
const v;
|
||||
~
|
||||
!!! error TS1155: 'const' declarations must be initialized.
|
||||
|
||||
@ -32,6 +32,7 @@ tests/cases/conformance/internalModules/DeclarationMerging/simple.ts(2,31): erro
|
||||
export var Instance = new A();
|
||||
~
|
||||
!!! error TS2449: Class 'A' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/internalModules/DeclarationMerging/simple.ts:6:7: 'A' was declared here.
|
||||
}
|
||||
|
||||
// duplicate identifier
|
||||
|
||||
@ -5418,6 +5418,7 @@ declare namespace ts {
|
||||
Class_name_cannot_be_Object_when_targeting_ES5_with_module_0: DiagnosticMessage;
|
||||
Cannot_find_lib_definition_for_0: DiagnosticMessage;
|
||||
Cannot_find_lib_definition_for_0_Did_you_mean_1: DiagnosticMessage;
|
||||
_0_was_declared_here: DiagnosticMessage;
|
||||
Import_declaration_0_is_using_private_name_1: DiagnosticMessage;
|
||||
Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: DiagnosticMessage;
|
||||
Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: DiagnosticMessage;
|
||||
|
||||
@ -8,13 +8,16 @@ tests/cases/compiler/blockScopedBindingUsedBeforeDef.ts(8,7): error TS2448: Bloc
|
||||
for (let {[a]: a} of [{ }]) continue;
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'a' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/blockScopedBindingUsedBeforeDef.ts:2:16: 'a' was declared here.
|
||||
|
||||
// 2:
|
||||
for (let {[a]: a} = { }; false; ) continue;
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'a' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/blockScopedBindingUsedBeforeDef.ts:5:16: 'a' was declared here.
|
||||
|
||||
// 3:
|
||||
let {[b]: b} = { };
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'b' used before its declaration.
|
||||
!!! error TS2448: Block-scoped variable 'b' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/blockScopedBindingUsedBeforeDef.ts:8:11: 'b' was declared here.
|
||||
@ -9,6 +9,7 @@ tests/cases/compiler/blockScopedVariablesUseBeforeDef.ts(100,12): error TS2448:
|
||||
let a = x;
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'x' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/blockScopedVariablesUseBeforeDef.ts:3:9: 'x' was declared here.
|
||||
let x;
|
||||
}
|
||||
|
||||
@ -67,6 +68,7 @@ tests/cases/compiler/blockScopedVariablesUseBeforeDef.ts(100,12): error TS2448:
|
||||
static a = x;
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'x' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/blockScopedVariablesUseBeforeDef.ts:60:9: 'x' was declared here.
|
||||
}
|
||||
let x;
|
||||
}
|
||||
@ -76,6 +78,7 @@ tests/cases/compiler/blockScopedVariablesUseBeforeDef.ts(100,12): error TS2448:
|
||||
static a = x;
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'x' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/blockScopedVariablesUseBeforeDef.ts:67:9: 'x' was declared here.
|
||||
}
|
||||
let x;
|
||||
}
|
||||
@ -113,6 +116,7 @@ tests/cases/compiler/blockScopedVariablesUseBeforeDef.ts(100,12): error TS2448:
|
||||
a: x
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'x' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/blockScopedVariablesUseBeforeDef.ts:102:9: 'x' was declared here.
|
||||
}
|
||||
let x
|
||||
}
|
||||
@ -9,6 +9,7 @@ tests/cases/conformance/internalModules/importDeclarations/circularImportAlias.t
|
||||
export class D extends a.C {
|
||||
~
|
||||
!!! error TS2449: Class 'C' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/internalModules/importDeclarations/circularImportAlias.ts:11:18: 'C' was declared here.
|
||||
id: number;
|
||||
}
|
||||
}
|
||||
|
||||
@ -45,6 +45,7 @@ tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbst
|
||||
var x : any = C;
|
||||
~
|
||||
!!! error TS2449: Class 'C' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractInstantiations2.ts:26:7: 'C' was declared here.
|
||||
new x; // okay -- undefined behavior at runtime
|
||||
|
||||
class C extends B { } // error -- not declared abstract
|
||||
|
||||
@ -12,14 +12,18 @@ tests/cases/compiler/classDeclarationShouldBeOutOfScopeInComputedNames.ts(8,6):
|
||||
static readonly [A.p1] = 0;
|
||||
~
|
||||
!!! error TS2449: Class 'A' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/classDeclarationShouldBeOutOfScopeInComputedNames.ts:1:7: 'A' was declared here.
|
||||
static [A.p2]() { return 0 };
|
||||
~
|
||||
!!! error TS2449: Class 'A' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/classDeclarationShouldBeOutOfScopeInComputedNames.ts:1:7: 'A' was declared here.
|
||||
[A.p1]() { }
|
||||
~
|
||||
!!! error TS2449: Class 'A' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/classDeclarationShouldBeOutOfScopeInComputedNames.ts:1:7: 'A' was declared here.
|
||||
[A.p2] = 0
|
||||
~
|
||||
!!! error TS2449: Class 'A' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/classDeclarationShouldBeOutOfScopeInComputedNames.ts:1:7: 'A' was declared here.
|
||||
}
|
||||
|
||||
@ -14,6 +14,7 @@ tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/cla
|
||||
!!! error TS2506: 'C' is referenced directly or indirectly in its own base expression.
|
||||
~
|
||||
!!! error TS2449: Class 'E' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsItselfIndirectly.ts:5:7: 'E' was declared here.
|
||||
|
||||
class D extends C { bar: string; }
|
||||
~
|
||||
@ -28,6 +29,7 @@ tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/cla
|
||||
!!! error TS2506: 'C2' is referenced directly or indirectly in its own base expression.
|
||||
~~
|
||||
!!! error TS2449: Class 'E2' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsItselfIndirectly.ts:11:7: 'E2' was declared here.
|
||||
|
||||
class D2<T> extends C2<T> { bar: T; }
|
||||
~~
|
||||
|
||||
@ -14,6 +14,7 @@ tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/cla
|
||||
!!! error TS2506: 'C' is referenced directly or indirectly in its own base expression.
|
||||
~
|
||||
!!! error TS2449: Class 'E' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsItselfIndirectly2.ts:9:18: 'E' was declared here.
|
||||
|
||||
module M {
|
||||
export class D extends C { bar: string; }
|
||||
@ -34,6 +35,7 @@ tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/cla
|
||||
!!! error TS2506: 'C2' is referenced directly or indirectly in its own base expression.
|
||||
~~
|
||||
!!! error TS2449: Class 'E2' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsItselfIndirectly2.ts:20:22: 'E2' was declared here.
|
||||
|
||||
module P {
|
||||
export class D2<T> extends C2<T> { bar: T; }
|
||||
|
||||
@ -6,6 +6,7 @@ tests/cases/compiler/classInheritence.ts(2,7): error TS2506: 'A' is referenced d
|
||||
class B extends A { }
|
||||
~
|
||||
!!! error TS2449: Class 'A' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/classInheritence.ts:2:7: 'A' was declared here.
|
||||
class A extends A { }
|
||||
~
|
||||
!!! error TS2506: 'A' is referenced directly or indirectly in its own base expression.
|
||||
@ -12,5 +12,6 @@ tests/cases/compiler/classMergedWithInterfaceMultipleBasesNoError.ts(8,30): erro
|
||||
readonly observer = this.handleIntersection;
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2448: Block-scoped variable 'handleIntersection' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/classMergedWithInterfaceMultipleBasesNoError.ts:9:14: 'handleIntersection' was declared here.
|
||||
readonly handleIntersection = () => { }
|
||||
}
|
||||
@ -5,6 +5,7 @@ tests/cases/compiler/classOrder2.ts(1,17): error TS2449: Class 'B' used before i
|
||||
class A extends B {
|
||||
~
|
||||
!!! error TS2449: Class 'B' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/classOrder2.ts:7:7: 'B' was declared here.
|
||||
|
||||
foo() { this.bar(); }
|
||||
|
||||
|
||||
@ -11,6 +11,7 @@ tests/cases/compiler/classSideInheritance2.ts(7,23): error TS2449: Class 'TextBa
|
||||
class SubText extends TextBase {
|
||||
~~~~~~~~
|
||||
!!! error TS2449: Class 'TextBase' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/classSideInheritance2.ts:14:7: 'TextBase' was declared here.
|
||||
|
||||
constructor(text: IText, span: TextSpan) {
|
||||
super();
|
||||
|
||||
@ -10,16 +10,21 @@ tests/cases/compiler/classStaticInitializersUsePropertiesBeforeDeclaration.ts(4,
|
||||
static enumMember = Enum.A;
|
||||
~~~~
|
||||
!!! error TS2450: Enum 'Enum' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/classStaticInitializersUsePropertiesBeforeDeclaration.ts:7:6: 'Enum' was declared here.
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'A' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/classStaticInitializersUsePropertiesBeforeDeclaration.ts:8:5: 'A' was declared here.
|
||||
static objLiteralMember = ObjLiteral.A;
|
||||
~~~~~~~~~~
|
||||
!!! error TS2448: Block-scoped variable 'ObjLiteral' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/classStaticInitializersUsePropertiesBeforeDeclaration.ts:11:7: 'ObjLiteral' was declared here.
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'A' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/classStaticInitializersUsePropertiesBeforeDeclaration.ts:12:5: 'A' was declared here.
|
||||
static namespaceMember = Namespace.A;
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'A' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/classStaticInitializersUsePropertiesBeforeDeclaration.ts:16:16: 'A' was declared here.
|
||||
}
|
||||
|
||||
enum Enum {
|
||||
|
||||
@ -6,6 +6,7 @@ tests/cases/compiler/complexClassRelationships.ts(2,23): error TS2449: Class 'Ba
|
||||
class Derived extends Base {
|
||||
~~~~
|
||||
!!! error TS2449: Class 'Base' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/complexClassRelationships.ts:13:7: 'Base' was declared here.
|
||||
public static createEmpty(): Derived {
|
||||
var item = new Derived();
|
||||
return item;
|
||||
|
||||
@ -9,14 +9,17 @@ tests/cases/conformance/es6/computedProperties/computedPropertyNamesWithStaticPr
|
||||
get [C.staticProp]() {
|
||||
~
|
||||
!!! error TS2449: Class 'C' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/es6/computedProperties/computedPropertyNamesWithStaticProperty.ts:1:7: 'C' was declared here.
|
||||
return "hello";
|
||||
}
|
||||
set [C.staticProp](x: string) {
|
||||
~
|
||||
!!! error TS2449: Class 'C' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/es6/computedProperties/computedPropertyNamesWithStaticProperty.ts:1:7: 'C' was declared here.
|
||||
var y = x;
|
||||
}
|
||||
[C.staticProp]() { }
|
||||
~
|
||||
!!! error TS2449: Class 'C' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/es6/computedProperties/computedPropertyNamesWithStaticProperty.ts:1:7: 'C' was declared here.
|
||||
}
|
||||
@ -7,6 +7,7 @@ tests/cases/compiler/constDeclarations-useBeforeDefinition.ts(8,5): error TS2448
|
||||
c1;
|
||||
~~
|
||||
!!! error TS2448: Block-scoped variable 'c1' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/constDeclarations-useBeforeDefinition.ts:3:11: 'c1' was declared here.
|
||||
const c1 = 0;
|
||||
}
|
||||
|
||||
@ -15,6 +16,7 @@ tests/cases/compiler/constDeclarations-useBeforeDefinition.ts(8,5): error TS2448
|
||||
v1;
|
||||
~~
|
||||
!!! error TS2448: Block-scoped variable 'v1' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/constDeclarations-useBeforeDefinition.ts:9:11: 'v1' was declared here.
|
||||
const v1 = 0;
|
||||
}
|
||||
|
||||
@ -5,6 +5,7 @@ tests/cases/compiler/file1.ts(1,1): error TS2448: Block-scoped variable 'c' used
|
||||
c;
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'c' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/file2.ts:1:7: 'c' was declared here.
|
||||
|
||||
==== tests/cases/compiler/file2.ts (0 errors) ====
|
||||
const c = 0;
|
||||
@ -5,6 +5,7 @@ tests/cases/compiler/derivedClasses.ts(1,19): error TS2449: Class 'Color' used b
|
||||
class Red extends Color {
|
||||
~~~~~
|
||||
!!! error TS2449: Class 'Color' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/derivedClasses.ts:8:7: 'Color' was declared here.
|
||||
public shade() {
|
||||
var getHue = () => { return this.hue(); };
|
||||
return getHue() + " red";
|
||||
|
||||
@ -9,9 +9,11 @@ tests/cases/conformance/es6/destructuring/destructuringArrayBindingPatternAndAss
|
||||
const [c, d = c, e = e] = [1]; // error for e = e
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'e' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment3.ts:2:18: 'e' was declared here.
|
||||
const [f, g = f, h = i, i = f] = [1]; // error for h = i
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'i' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/es6/destructuring/destructuringArrayBindingPatternAndAssignment3.ts:3:25: 'i' was declared here.
|
||||
|
||||
(function ([a, b = a]) { // ok
|
||||
})([1]);
|
||||
|
||||
@ -11,8 +11,10 @@ tests/cases/conformance/es6/destructuring/destructuringObjectBindingPatternAndAs
|
||||
e = f, // error
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'f' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment4.ts:7:5: 'f' was declared here.
|
||||
f = f // error
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'f' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/es6/destructuring/destructuringObjectBindingPatternAndAssignment4.ts:7:5: 'f' was declared here.
|
||||
} = { } as any;
|
||||
|
||||
@ -5,6 +5,7 @@ tests/cases/compiler/enumUsedBeforeDeclaration.ts(1,18): error TS2450: Enum 'Col
|
||||
const v: Color = Color.Green;
|
||||
~~~~~
|
||||
!!! error TS2450: Enum 'Color' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/enumUsedBeforeDeclaration.ts:3:6: 'Color' was declared here.
|
||||
const v2: ConstColor = ConstColor.Green;
|
||||
enum Color { Red, Green, Blue }
|
||||
const enum ConstColor { Red, Green, Blue }
|
||||
|
||||
@ -5,6 +5,7 @@ tests/cases/compiler/es5ExportDefaultClassDeclaration3.ts(1,21): error TS2449: C
|
||||
var before: C = new C();
|
||||
~
|
||||
!!! error TS2449: Class 'C' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/es5ExportDefaultClassDeclaration3.ts:3:22: 'C' was declared here.
|
||||
|
||||
export default class C {
|
||||
method(): C {
|
||||
|
||||
@ -21,4 +21,5 @@ tests/cases/compiler/user.ts(3,25): error TS2448: Block-scoped variable 'Obj' us
|
||||
!!! error TS2395: Individual declarations in merged declaration 'Obj' must be all exported or all local.
|
||||
~~~
|
||||
!!! error TS2448: Block-scoped variable 'Obj' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/user.ts:3:14: 'Obj' was declared here.
|
||||
|
||||
@ -9,6 +9,7 @@ tests/cases/conformance/es6/modules/exportVars.ts(3,16): error TS2454: Variable
|
||||
export default x;
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'x' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/es6/modules/exportConsts.ts:5:7: 'x' was declared here.
|
||||
~
|
||||
!!! error TS2454: Variable 'x' is used before being assigned.
|
||||
|
||||
|
||||
@ -12,33 +12,41 @@ tests/cases/compiler/exportedBlockScopedDeclarations.ts(16,21): error TS2448: Bl
|
||||
const foo = foo; // compile error
|
||||
~~~
|
||||
!!! error TS2448: Block-scoped variable 'foo' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/exportedBlockScopedDeclarations.ts:1:7: 'foo' was declared here.
|
||||
export const bar = bar; // should be compile error
|
||||
~~~
|
||||
!!! error TS2448: Block-scoped variable 'bar' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/exportedBlockScopedDeclarations.ts:2:14: 'bar' was declared here.
|
||||
function f() {
|
||||
const bar = bar; // compile error
|
||||
~~~
|
||||
!!! error TS2448: Block-scoped variable 'bar' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/exportedBlockScopedDeclarations.ts:4:9: 'bar' was declared here.
|
||||
}
|
||||
namespace NS {
|
||||
export const bar = bar; // should be compile error
|
||||
~~~
|
||||
!!! error TS2448: Block-scoped variable 'bar' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/exportedBlockScopedDeclarations.ts:7:16: 'bar' was declared here.
|
||||
}
|
||||
|
||||
let foo1 = foo1; // compile error
|
||||
~~~~
|
||||
!!! error TS2448: Block-scoped variable 'foo1' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/exportedBlockScopedDeclarations.ts:10:5: 'foo1' was declared here.
|
||||
export let bar1 = bar1; // should be compile error
|
||||
~~~~
|
||||
!!! error TS2448: Block-scoped variable 'bar1' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/exportedBlockScopedDeclarations.ts:11:12: 'bar1' was declared here.
|
||||
function f1() {
|
||||
let bar1 = bar1; // compile error
|
||||
~~~~
|
||||
!!! error TS2448: Block-scoped variable 'bar1' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/exportedBlockScopedDeclarations.ts:13:7: 'bar1' was declared here.
|
||||
}
|
||||
namespace NS1 {
|
||||
export let bar1 = bar1; // should be compile error
|
||||
~~~~
|
||||
!!! error TS2448: Block-scoped variable 'bar1' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/exportedBlockScopedDeclarations.ts:16:14: 'bar1' was declared here.
|
||||
}
|
||||
@ -5,5 +5,6 @@ tests/cases/compiler/extendBaseClassBeforeItsDeclared.ts(1,23): error TS2449: Cl
|
||||
class derived extends base { }
|
||||
~~~~
|
||||
!!! error TS2449: Class 'base' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/extendBaseClassBeforeItsDeclared.ts:3:7: 'base' was declared here.
|
||||
|
||||
class base { constructor (public n: number) { } }
|
||||
@ -6,5 +6,6 @@ tests/cases/conformance/es6/for-ofStatements/for-of55.ts(2,15): error TS2448: Bl
|
||||
for (let v of v) {
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'v' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/es6/for-ofStatements/for-of55.ts:2:10: 'v' was declared here.
|
||||
v;
|
||||
}
|
||||
@ -9,11 +9,13 @@ tests/cases/compiler/forwardRefInClassProperties.ts(11,17): error TS2448: Block-
|
||||
_b = this._a; // undefined, no error/warning
|
||||
~~
|
||||
!!! error TS2448: Block-scoped variable '_a' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/forwardRefInClassProperties.ts:4:5: '_a' was declared here.
|
||||
_a = 3;
|
||||
|
||||
static _B = Test._A; // undefined, no error/warning
|
||||
~~
|
||||
!!! error TS2448: Block-scoped variable '_A' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/forwardRefInClassProperties.ts:7:12: '_A' was declared here.
|
||||
static _A = 3;
|
||||
|
||||
method()
|
||||
@ -21,6 +23,7 @@ tests/cases/compiler/forwardRefInClassProperties.ts(11,17): error TS2448: Block-
|
||||
let a = b; // Block-scoped variable 'b' used before its declaration
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'b' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/forwardRefInClassProperties.ts:12:13: 'b' was declared here.
|
||||
let b = 3;
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,9 +6,11 @@ tests/cases/compiler/genericClassInheritsConstructorFromNonGenericClass.ts(2,20)
|
||||
class A extends B<string> { }
|
||||
~
|
||||
!!! error TS2449: Class 'B' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/genericClassInheritsConstructorFromNonGenericClass.ts:2:7: 'B' was declared here.
|
||||
class B<U> extends C { }
|
||||
~
|
||||
!!! error TS2449: Class 'C' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/genericClassInheritsConstructorFromNonGenericClass.ts:3:7: 'C' was declared here.
|
||||
class C {
|
||||
constructor(p: string) { }
|
||||
}
|
||||
@ -9,6 +9,7 @@ tests/cases/compiler/indirectSelfReference.ts(2,7): error TS2506: 'b' is referen
|
||||
!!! error TS2506: 'a' is referenced directly or indirectly in its own base expression.
|
||||
~
|
||||
!!! error TS2449: Class 'b' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/indirectSelfReference.ts:2:7: 'b' was declared here.
|
||||
class b extends a{ }
|
||||
~
|
||||
!!! error TS2506: 'b' is referenced directly or indirectly in its own base expression.
|
||||
@ -9,6 +9,7 @@ tests/cases/compiler/indirectSelfReferenceGeneric.ts(2,7): error TS2506: 'b' is
|
||||
!!! error TS2506: 'a' is referenced directly or indirectly in its own base expression.
|
||||
~
|
||||
!!! error TS2449: Class 'b' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/indirectSelfReferenceGeneric.ts:2:7: 'b' was declared here.
|
||||
class b<T> extends a<T> { }
|
||||
~
|
||||
!!! error TS2506: 'b' is referenced directly or indirectly in its own base expression.
|
||||
@ -14,6 +14,7 @@ tests/cases/conformance/es6/destructuring/iterableArrayPattern16.ts(2,12): error
|
||||
!!! error TS2345: Property '0' is missing in type 'FooIterator'.
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2449: Class 'FooIteratorIterator' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/es6/destructuring/iterableArrayPattern16.ts:18:7: 'FooIteratorIterator' was declared here.
|
||||
class Bar { x }
|
||||
class Foo extends Bar { y }
|
||||
class FooIterator {
|
||||
|
||||
@ -8,6 +8,7 @@ tests/cases/compiler/a.ts(2,1): error TS2448: Block-scoped variable 'a' used bef
|
||||
a = 10;
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'a' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/b.js:1:5: 'a' was declared here.
|
||||
==== tests/cases/compiler/b.js (0 errors) ====
|
||||
let a = 10;
|
||||
b = 30;
|
||||
|
||||
@ -7,6 +7,7 @@ tests/cases/compiler/letDeclarations-useBeforeDefinition.ts(8,5): error TS2448:
|
||||
l1;
|
||||
~~
|
||||
!!! error TS2448: Block-scoped variable 'l1' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/letDeclarations-useBeforeDefinition.ts:3:9: 'l1' was declared here.
|
||||
let l1;
|
||||
}
|
||||
|
||||
@ -15,6 +16,7 @@ tests/cases/compiler/letDeclarations-useBeforeDefinition.ts(8,5): error TS2448:
|
||||
v1;
|
||||
~~
|
||||
!!! error TS2448: Block-scoped variable 'v1' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/letDeclarations-useBeforeDefinition.ts:9:9: 'v1' was declared here.
|
||||
let v1 = 0;
|
||||
}
|
||||
|
||||
@ -5,6 +5,7 @@ tests/cases/compiler/file1.ts(1,1): error TS2448: Block-scoped variable 'l' used
|
||||
l;
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'l' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/file2.ts:1:7: 'l' was declared here.
|
||||
|
||||
==== tests/cases/compiler/file2.ts (0 errors) ====
|
||||
const l = 0;
|
||||
@ -475,6 +475,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(449,41): error
|
||||
export var tokenTable = new TokenInfo[];
|
||||
~~~~~~~~~
|
||||
!!! error TS2449: Class 'TokenInfo' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts:175:18: 'TokenInfo' was declared here.
|
||||
|
||||
!!! error TS1011: An element access expression should take an argument.
|
||||
export var nodeTypeTable = new string[];
|
||||
|
||||
@ -24,10 +24,12 @@ tests/cases/compiler/privacyClassExtendsClauseDeclFile_externalModule.ts(21,83):
|
||||
class privateClassExtendingFromPrivateModuleClass extends privateModule.publicClassInPrivateModule {
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2449: Class 'publicClassInPrivateModule' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/privacyClassExtendsClauseDeclFile_externalModule.ts:26:18: 'publicClassInPrivateModule' was declared here.
|
||||
}
|
||||
export class publicClassExtendingFromPrivateModuleClass extends privateModule.publicClassInPrivateModule { // Should error
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2449: Class 'publicClassInPrivateModule' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/privacyClassExtendsClauseDeclFile_externalModule.ts:26:18: 'publicClassInPrivateModule' was declared here.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -10,6 +10,7 @@ tests/cases/compiler/recursiveBaseCheck3.ts(4,9): error TS2339: Property 'blah'
|
||||
!!! error TS2506: 'A' is referenced directly or indirectly in its own base expression.
|
||||
~
|
||||
!!! error TS2449: Class 'C' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/recursiveBaseCheck3.ts:2:7: 'C' was declared here.
|
||||
class C<T> extends A<T> { }
|
||||
~
|
||||
!!! error TS2506: 'C' is referenced directly or indirectly in its own base expression.
|
||||
|
||||
@ -15,33 +15,43 @@ tests/cases/compiler/recursiveLetConst.ts(11,11): error TS2448: Block-scoped var
|
||||
let x = x + 1;
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'x' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/recursiveLetConst.ts:2:5: 'x' was declared here.
|
||||
let [x1] = x1 + 1;
|
||||
~~
|
||||
!!! error TS2448: Block-scoped variable 'x1' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/recursiveLetConst.ts:3:6: 'x1' was declared here.
|
||||
const y = y + 2;
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'y' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/recursiveLetConst.ts:4:7: 'y' was declared here.
|
||||
const [y1] = y1 + 1;
|
||||
~~
|
||||
!!! error TS2448: Block-scoped variable 'y1' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/recursiveLetConst.ts:5:8: 'y1' was declared here.
|
||||
for (let v = v; ; ) { }
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'v' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/recursiveLetConst.ts:6:10: 'v' was declared here.
|
||||
for (let [v] = v; ;) { }
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'v' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/recursiveLetConst.ts:7:11: 'v' was declared here.
|
||||
for (let v in v) { }
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'v' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/recursiveLetConst.ts:8:10: 'v' was declared here.
|
||||
for (let v of v) { }
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'v' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/recursiveLetConst.ts:9:10: 'v' was declared here.
|
||||
for (let [v] of v) { }
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'v' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/recursiveLetConst.ts:10:11: 'v' was declared here.
|
||||
let [x2 = x2] = []
|
||||
~~
|
||||
!!! error TS2448: Block-scoped variable 'x2' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/recursiveLetConst.ts:11:6: 'x2' was declared here.
|
||||
let z0 = () => z0;
|
||||
let z1 = function () { return z1; }
|
||||
let z2 = { f() { return z2;}}
|
||||
@ -29,6 +29,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class caniventer extends Lanthanum.nitidus<petrophilus.minutilla, julianae.sumatrana> {
|
||||
~~~~~~~
|
||||
!!! error TS2449: Class 'nitidus' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:114:16: 'nitidus' was declared here.
|
||||
salomonseni() : caniventer { var x : caniventer; () => { var y = this; }; return x; }
|
||||
uchidai() : lavali.xanthognathus { var x : lavali.xanthognathus; () => { var y = this; }; return x; }
|
||||
raffrayana() : lavali.otion { var x : lavali.otion; () => { var y = this; }; return x; }
|
||||
@ -38,6 +39,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class veraecrucis<T0, T1> extends trivirgatus.mixtus<gabriellae.amicus, lutreolus.punicus> {
|
||||
~~~~~~
|
||||
!!! error TS2449: Class 'mixtus' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:199:16: 'mixtus' was declared here.
|
||||
naso() : panamensis.setulosus<lutreolus.punicus, howi.coludo<quasiater.bobrinskoi, provocax.melanoleuca>> { var x : panamensis.setulosus<lutreolus.punicus, howi.coludo<quasiater.bobrinskoi, provocax.melanoleuca>>; () => { var y = this; }; return x; }
|
||||
vancouverensis() : imperfecta.ciliolabrum<argurus.oreas, argurus.peninsulae> { var x : imperfecta.ciliolabrum<argurus.oreas, argurus.peninsulae>; () => { var y = this; }; return x; }
|
||||
africana() : argurus.gilbertii<panamensis.linulus<lavali.lepturus, argurus.oreas>, sagitta.cinereus<lavali.xanthognathus, argurus.oreas>> { var x : argurus.gilbertii<panamensis.linulus<lavali.lepturus, argurus.oreas>, sagitta.cinereus<lavali.xanthognathus, argurus.oreas>>; () => { var y = this; }; return x; }
|
||||
@ -76,6 +78,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class oralis<T0, T1> extends caurinus.psilurus {
|
||||
~~~~~~~~
|
||||
!!! error TS2449: Class 'psilurus' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:1010:18: 'psilurus' was declared here.
|
||||
cepapi() : caurinus.psilurus { var x : caurinus.psilurus; () => { var y = this; }; return x; }
|
||||
porteri() : lavali.thaeleri { var x : lavali.thaeleri; () => { var y = this; }; return x; }
|
||||
bindi() : caurinus.mahaganus<gabriellae.amicus, panglima.amphibius<macrorhinos.daphaenodon, patas.uralensis>> { var x : caurinus.mahaganus<gabriellae.amicus, panglima.amphibius<macrorhinos.daphaenodon, patas.uralensis>>; () => { var y = this; }; return x; }
|
||||
@ -93,6 +96,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class sumatrana extends Lanthanum.jugularis {
|
||||
~~~~~~~~~
|
||||
!!! error TS2449: Class 'jugularis' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:136:16: 'jugularis' was declared here.
|
||||
wolffsohni() : Lanthanum.suillus<dammermani.melanops, quasiater.carolinensis> { var x : Lanthanum.suillus<dammermani.melanops, quasiater.carolinensis>; () => { var y = this; }; return x; }
|
||||
geata() : ruatanica.hector<sumatrana, quasiater.bobrinskoi> { var x : ruatanica.hector<sumatrana, quasiater.bobrinskoi>; () => { var y = this; }; return x; }
|
||||
awashensis() : petrophilus.minutilla { var x : petrophilus.minutilla; () => { var y = this; }; return x; }
|
||||
@ -131,6 +135,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class durangae extends dogramacii.aurata {
|
||||
~~~~~~
|
||||
!!! error TS2449: Class 'aurata' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:346:16: 'aurata' was declared here.
|
||||
Californium() : panamensis.setulosus<lutreolus.punicus, dammermani.melanops> { var x : panamensis.setulosus<lutreolus.punicus, dammermani.melanops>; () => { var y = this; }; return x; }
|
||||
Flerovium() : howi.angulatus<petrophilus.minutilla, lavali.xanthognathus> { var x : howi.angulatus<petrophilus.minutilla, lavali.xanthognathus>; () => { var y = this; }; return x; }
|
||||
phrudus() : sagitta.stolzmanni { var x : sagitta.stolzmanni; () => { var y = this; }; return x; }
|
||||
@ -151,6 +156,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class nitidus<T0, T1> extends argurus.gilbertii<lavali.thaeleri, lutreolus.punicus> {
|
||||
~~~~~~~~~
|
||||
!!! error TS2449: Class 'gilbertii' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:702:18: 'gilbertii' was declared here.
|
||||
granatensis() : quasiater.bobrinskoi { var x : quasiater.bobrinskoi; () => { var y = this; }; return x; }
|
||||
negligens() : minutus.inez<lavali.wilsoni, lavali.wilsoni> { var x : minutus.inez<lavali.wilsoni, lavali.wilsoni>; () => { var y = this; }; return x; }
|
||||
lewisi() : julianae.oralis<lavali.xanthognathus, argurus.oreas> { var x : julianae.oralis<lavali.xanthognathus, argurus.oreas>; () => { var y = this; }; return x; }
|
||||
@ -165,6 +171,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class megalonyx extends caurinus.johorensis<caurinus.megaphyllus, julianae.steerii> {
|
||||
~~~~~~~~~~
|
||||
!!! error TS2449: Class 'johorensis' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:979:18: 'johorensis' was declared here.
|
||||
phillipsii() : macrorhinos.konganensis { var x : macrorhinos.konganensis; () => { var y = this; }; return x; }
|
||||
melanogaster() : rionegrensis.veraecrucis<trivirgatus.falconeri, quasiater.carolinensis> { var x : rionegrensis.veraecrucis<trivirgatus.falconeri, quasiater.carolinensis>; () => { var y = this; }; return x; }
|
||||
elaphus() : nitidus<petrophilus.minutilla, julianae.sumatrana> { var x : nitidus<petrophilus.minutilla, julianae.sumatrana>; () => { var y = this; }; return x; }
|
||||
@ -223,6 +230,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class crenulata<T0, T1> extends trivirgatus.falconeri {
|
||||
~~~~~~~~~
|
||||
!!! error TS2449: Class 'falconeri' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:212:16: 'falconeri' was declared here.
|
||||
salvanius() : howi.coludo<howi.marcanoi, rionegrensis.caniventer> { var x : howi.coludo<howi.marcanoi, rionegrensis.caniventer>; () => { var y = this; }; return x; }
|
||||
maritimus() : ruatanica.americanus { var x : ruatanica.americanus; () => { var y = this; }; return x; }
|
||||
edax() : lutreolus.cor<imperfecta.lasiurus<howi.marcanoi, imperfecta.ciliolabrum<Lanthanum.megalonyx, petrophilus.minutilla>>, rionegrensis.caniventer> { var x : lutreolus.cor<imperfecta.lasiurus<howi.marcanoi, imperfecta.ciliolabrum<Lanthanum.megalonyx, petrophilus.minutilla>>, rionegrensis.caniventer>; () => { var y = this; }; return x; }
|
||||
@ -242,6 +250,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class mixtus<T0, T1> extends argurus.pygmaea<argurus.oreas, panglima.fundatus<quasiater.carolinensis, macrorhinos.daphaenodon>> {
|
||||
~~~~~~~
|
||||
!!! error TS2449: Class 'pygmaea' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:598:18: 'pygmaea' was declared here.
|
||||
ochrogaster() : dogramacii.aurata { var x : dogramacii.aurata; () => { var y = this; }; return x; }
|
||||
bryophilus() : macrorhinos.marmosurus<dogramacii.koepckeae, panglima.abidi<dogramacii.aurata, chrysaeolus.sarasinorum<caurinus.megaphyllus, lavali.xanthognathus>>> { var x : macrorhinos.marmosurus<dogramacii.koepckeae, panglima.abidi<dogramacii.aurata, chrysaeolus.sarasinorum<caurinus.megaphyllus, lavali.xanthognathus>>>; () => { var y = this; }; return x; }
|
||||
liechtensteini() : rendalli.zuluensis { var x : rendalli.zuluensis; () => { var y = this; }; return x; }
|
||||
@ -292,6 +301,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class americanus extends imperfecta.ciliolabrum<argurus.germaini, lutreolus.foina> {
|
||||
~~~~~~~~~~~
|
||||
!!! error TS2449: Class 'ciliolabrum' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:809:18: 'ciliolabrum' was declared here.
|
||||
nasoloi() : macrorhinos.konganensis { var x : macrorhinos.konganensis; () => { var y = this; }; return x; }
|
||||
mystacalis() : howi.angulatus<quasiater.carolinensis, sagitta.stolzmanni> { var x : howi.angulatus<quasiater.carolinensis, sagitta.stolzmanni>; () => { var y = this; }; return x; }
|
||||
fardoulisi() : trivirgatus.oconnelli { var x : trivirgatus.oconnelli; () => { var y = this; }; return x; }
|
||||
@ -319,6 +329,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class otion extends howi.coludo<argurus.oreas, howi.marcanoi> {
|
||||
~~~~~~
|
||||
!!! error TS2449: Class 'coludo' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:889:18: 'coludo' was declared here.
|
||||
bonaerensis() : provocax.melanoleuca { var x : provocax.melanoleuca; () => { var y = this; }; return x; }
|
||||
dussumieri() : nigra.gracilis<julianae.steerii, dogramacii.kaiseri> { var x : nigra.gracilis<julianae.steerii, dogramacii.kaiseri>; () => { var y = this; }; return x; }
|
||||
osvaldoreigi() : julianae.albidens<julianae.steerii, quasiater.carolinensis> { var x : julianae.albidens<julianae.steerii, quasiater.carolinensis>; () => { var y = this; }; return x; }
|
||||
@ -350,6 +361,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class thaeleri extends argurus.oreas {
|
||||
~~~~~
|
||||
!!! error TS2449: Class 'oreas' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:627:18: 'oreas' was declared here.
|
||||
coromandra() : julianae.galapagoensis { var x : julianae.galapagoensis; () => { var y = this; }; return x; }
|
||||
parvipes() : nigra.dolichurus<argurus.germaini, samarensis.pallidus> { var x : nigra.dolichurus<argurus.germaini, samarensis.pallidus>; () => { var y = this; }; return x; }
|
||||
sponsorius() : rionegrensis.veraecrucis<chrysaeolus.sarasinorum<caurinus.psilurus, quasiater.bobrinskoi>, julianae.steerii> { var x : rionegrensis.veraecrucis<chrysaeolus.sarasinorum<caurinus.psilurus, quasiater.bobrinskoi>, julianae.steerii>; () => { var y = this; }; return x; }
|
||||
@ -454,6 +466,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class amphibius<T0, T1> extends caurinus.johorensis<Lanthanum.nitidus<petrophilus.minutilla, julianae.sumatrana>, Lanthanum.jugularis> {
|
||||
~~~~~~~~~~
|
||||
!!! error TS2449: Class 'johorensis' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:979:18: 'johorensis' was declared here.
|
||||
bottegi(): macrorhinos.marmosurus<rendalli.moojeni<amphibius<trivirgatus.falconeri, caurinus.psilurus>, gabriellae.echinatus>, sagitta.stolzmanni> { var x: macrorhinos.marmosurus<rendalli.moojeni<amphibius<trivirgatus.falconeri, caurinus.psilurus>, gabriellae.echinatus>, sagitta.stolzmanni>; () => { var y = this; }; return x; }
|
||||
jerdoni(): macrorhinos.daphaenodon { var x: macrorhinos.daphaenodon; () => { var y = this; }; return x; }
|
||||
camtschatica(): samarensis.pallidus { var x: samarensis.pallidus; () => { var y = this; }; return x; }
|
||||
@ -489,6 +502,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class himalayana<T0, T1> extends lutreolus.punicus {
|
||||
~~~~~~~
|
||||
!!! error TS2449: Class 'punicus' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:722:18: 'punicus' was declared here.
|
||||
simoni(): argurus.netscheri<lavali.lepturus, argurus.dauricus<argurus.oreas, quasiater.carolinensis>> { var x: argurus.netscheri<lavali.lepturus, argurus.dauricus<argurus.oreas, quasiater.carolinensis>>; () => { var y = this; }; return x; }
|
||||
lobata(): samarensis.pallidus { var x: samarensis.pallidus; () => { var y = this; }; return x; }
|
||||
rusticus(): dogramacii.aurata { var x: dogramacii.aurata; () => { var y = this; }; return x; }
|
||||
@ -524,6 +538,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class angulatus<T0, T1> extends sagitta.stolzmanni {
|
||||
~~~~~~~~~~
|
||||
!!! error TS2449: Class 'stolzmanni' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:901:18: 'stolzmanni' was declared here.
|
||||
pennatus(): howi.marcanoi { var x: howi.marcanoi; () => { var y = this; }; return x; }
|
||||
}
|
||||
}
|
||||
@ -547,6 +562,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class walkeri extends minutus.portoricensis {
|
||||
~~~~~~~~~~~~~
|
||||
!!! error TS2449: Class 'portoricensis' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:851:18: 'portoricensis' was declared here.
|
||||
maracajuensis(): samarensis.cahirinus<Lanthanum.jugularis, ruatanica.americanus> { var x: samarensis.cahirinus<Lanthanum.jugularis, ruatanica.americanus>; () => { var y = this; }; return x; }
|
||||
}
|
||||
}
|
||||
@ -554,6 +570,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class inez<T0, T1> extends samarensis.pelurus<argurus.germaini, julianae.durangae> {
|
||||
~~~~~~~
|
||||
!!! error TS2449: Class 'pelurus' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:534:18: 'pelurus' was declared here.
|
||||
vexillaris(): samarensis.cahirinus<lavali.lepturus, lavali.wilsoni> { var x: samarensis.cahirinus<lavali.lepturus, lavali.wilsoni>; () => { var y = this; }; return x; }
|
||||
}
|
||||
}
|
||||
@ -561,6 +578,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class konganensis extends imperfecta.lasiurus<caurinus.psilurus, caurinus.psilurus> {
|
||||
~~~~~~~~
|
||||
!!! error TS2449: Class 'lasiurus' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:788:18: 'lasiurus' was declared here.
|
||||
}
|
||||
}
|
||||
module panamensis {
|
||||
@ -597,6 +615,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class pelurus<T0, T1> extends sagitta.stolzmanni {
|
||||
~~~~~~~~~~
|
||||
!!! error TS2449: Class 'stolzmanni' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:901:18: 'stolzmanni' was declared here.
|
||||
Palladium(): panamensis.linulus<macrorhinos.konganensis, rionegrensis.caniventer> { var x: panamensis.linulus<macrorhinos.konganensis, rionegrensis.caniventer>; () => { var y = this; }; return x; }
|
||||
castanea(): argurus.netscheri<minutus.inez<argurus.peninsulae, julianae.nudicaudus>, julianae.oralis<lavali.xanthognathus, argurus.oreas>> { var x: argurus.netscheri<minutus.inez<argurus.peninsulae, julianae.nudicaudus>, julianae.oralis<lavali.xanthognathus, argurus.oreas>>; () => { var y = this; }; return x; }
|
||||
chamek(): argurus.pygmaea<julianae.galapagoensis, provocax.melanoleuca> { var x: argurus.pygmaea<julianae.galapagoensis, provocax.melanoleuca>; () => { var y = this; }; return x; }
|
||||
@ -614,6 +633,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class fuscus<T0, T1> extends macrorhinos.daphaenodon {
|
||||
~~~~~~~~~~~
|
||||
!!! error TS2449: Class 'daphaenodon' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:739:18: 'daphaenodon' was declared here.
|
||||
planifrons(): nigra.gracilis<julianae.nudicaudus, dogramacii.aurata> { var x: nigra.gracilis<julianae.nudicaudus, dogramacii.aurata>; () => { var y = this; }; return x; }
|
||||
badia(): julianae.sumatrana { var x: julianae.sumatrana; () => { var y = this; }; return x; }
|
||||
prymnolopha(): sagitta.walkeri { var x: sagitta.walkeri; () => { var y = this; }; return x; }
|
||||
@ -647,6 +667,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class leptoceros<T0, T1> extends caurinus.johorensis<argurus.peninsulae, daubentonii.arboreus<argurus.germaini, sagitta.stolzmanni>> {
|
||||
~~~~~~~~~~
|
||||
!!! error TS2449: Class 'johorensis' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:979:18: 'johorensis' was declared here.
|
||||
victus(): rionegrensis.caniventer { var x: rionegrensis.caniventer; () => { var y = this; }; return x; }
|
||||
hoplomyoides(): panglima.fundatus<julianae.gerbillus<imperfecta.subspinosus, julianae.durangae>, nigra.gracilis<argurus.luctuosa, imperfecta.subspinosus>> { var x: panglima.fundatus<julianae.gerbillus<imperfecta.subspinosus, julianae.durangae>, nigra.gracilis<argurus.luctuosa, imperfecta.subspinosus>>; () => { var y = this; }; return x; }
|
||||
gratiosus(): lavali.lepturus { var x: lavali.lepturus; () => { var y = this; }; return x; }
|
||||
@ -658,6 +679,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class nigricans<T0, T1> extends sagitta.stolzmanni {
|
||||
~~~~~~~~~~
|
||||
!!! error TS2449: Class 'stolzmanni' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:901:18: 'stolzmanni' was declared here.
|
||||
woosnami(): dogramacii.robustulus { var x: dogramacii.robustulus; () => { var y = this; }; return x; }
|
||||
}
|
||||
}
|
||||
@ -676,6 +698,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class sarasinorum<T0, T1> extends caurinus.psilurus {
|
||||
~~~~~~~~
|
||||
!!! error TS2449: Class 'psilurus' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:1010:18: 'psilurus' was declared here.
|
||||
belzebul(): samarensis.pallidus { var x: samarensis.pallidus; () => { var y = this; }; return x; }
|
||||
hinpoon(): nigra.caucasica<julianae.sumatrana, trivirgatus.oconnelli> { var x: nigra.caucasica<julianae.sumatrana, trivirgatus.oconnelli>; () => { var y = this; }; return x; }
|
||||
kandti(): quasiater.wattsi<Lanthanum.jugularis, julianae.sumatrana> { var x: quasiater.wattsi<Lanthanum.jugularis, julianae.sumatrana>; () => { var y = this; }; return x; }
|
||||
@ -842,6 +865,7 @@ tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts(769,53
|
||||
export class klossii<T0, T1> extends imperfecta.lasiurus<dogramacii.robustulus, caurinus.psilurus> {
|
||||
~~~~~~~~
|
||||
!!! error TS2449: Class 'lasiurus' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/resolvingClassDeclarationWhenInBaseTypeResolution.ts:788:18: 'lasiurus' was declared here.
|
||||
}
|
||||
export class amicus {
|
||||
pirrensis(): argurus.luctuosa { var x: argurus.luctuosa; () => { var y = this; }; return x; }
|
||||
|
||||
@ -9,16 +9,20 @@ tests/cases/compiler/scopeCheckStaticInitializer.ts(6,23): error TS2449: Class '
|
||||
static illegalBeforeProperty = X.data;
|
||||
~~~~
|
||||
!!! error TS2448: Block-scoped variable 'data' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/scopeCheckStaticInitializer.ts:7:12: 'data' was declared here.
|
||||
static okBeforeMethod = X.method;
|
||||
|
||||
static illegal2 = After.data;
|
||||
~~~~~
|
||||
!!! error TS2449: Class 'After' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/scopeCheckStaticInitializer.ts:10:7: 'After' was declared here.
|
||||
~~~~
|
||||
!!! error TS2448: Block-scoped variable 'data' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/scopeCheckStaticInitializer.ts:11:12: 'data' was declared here.
|
||||
static illegal3 = After.method;
|
||||
~~~~~
|
||||
!!! error TS2449: Class 'After' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/scopeCheckStaticInitializer.ts:10:7: 'After' was declared here.
|
||||
static data = 13;
|
||||
static method() { }
|
||||
}
|
||||
|
||||
@ -6,6 +6,7 @@ tests/cases/conformance/es6/Symbols/symbolProperty33.ts(7,6): error TS1023: An i
|
||||
class C1 extends C2 {
|
||||
~~
|
||||
!!! error TS2449: Class 'C2' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/es6/Symbols/symbolProperty33.ts:6:7: 'C2' was declared here.
|
||||
[Symbol.toStringTag]() {
|
||||
return { x: "" };
|
||||
}
|
||||
|
||||
@ -6,6 +6,7 @@ tests/cases/conformance/es6/Symbols/symbolProperty34.ts(7,6): error TS1023: An i
|
||||
class C1 extends C2 {
|
||||
~~
|
||||
!!! error TS2449: Class 'C2' used before its declaration.
|
||||
!!! related TS2728 tests/cases/conformance/es6/Symbols/symbolProperty34.ts:6:7: 'C2' was declared here.
|
||||
[Symbol.toStringTag]() {
|
||||
return { x: "" };
|
||||
}
|
||||
|
||||
@ -6,6 +6,7 @@ tests/cases/compiler/useBeforeDeclaration_propertyAssignment.ts(2,27): error TS2
|
||||
public a = { b: this.b };
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'b' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/useBeforeDeclaration_propertyAssignment.ts:3:13: 'b' was declared here.
|
||||
private b = 0;
|
||||
}
|
||||
|
||||
@ -29,6 +29,7 @@ tests/cases/compiler/useBeforeDeclaration_superClass.ts(25,18): error TS2448: Bl
|
||||
old_x = this.x;
|
||||
~
|
||||
!!! error TS2448: Block-scoped variable 'x' used before its declaration.
|
||||
!!! related TS2728 tests/cases/compiler/useBeforeDeclaration_superClass.ts:26:5: 'x' was declared here.
|
||||
x = 1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user