29 lines
719 B
Text
29 lines
719 B
Text
=== tests/cases/compiler/classOrderBug.ts ===
|
|
class bar {
|
|
>bar : Symbol(bar, Decl(classOrderBug.ts, 0, 0))
|
|
|
|
public baz: foo;
|
|
>baz : Symbol(baz, Decl(classOrderBug.ts, 0, 11))
|
|
>foo : Symbol(foo, Decl(classOrderBug.ts, 10, 12))
|
|
|
|
constructor() {
|
|
|
|
this.baz = new foo();
|
|
>this.baz : Symbol(baz, Decl(classOrderBug.ts, 0, 11))
|
|
>this : Symbol(bar, Decl(classOrderBug.ts, 0, 0))
|
|
>baz : Symbol(baz, Decl(classOrderBug.ts, 0, 11))
|
|
>foo : Symbol(foo, Decl(classOrderBug.ts, 10, 12))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
class baz {}
|
|
>baz : Symbol(baz, Decl(classOrderBug.ts, 8, 1))
|
|
|
|
class foo extends baz {}
|
|
>foo : Symbol(foo, Decl(classOrderBug.ts, 10, 12))
|
|
>baz : Symbol(baz, Decl(classOrderBug.ts, 8, 1))
|
|
|
|
|
|
|