1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
=== tests/cases/compiler/propertyOrdering2.ts ===
class Foo {
>Foo : Symbol(Foo, Decl(propertyOrdering2.ts, 0, 0))
constructor(public x, y) { }
>x : Symbol(Foo.x, Decl(propertyOrdering2.ts, 1, 16))
>y : Symbol(y, Decl(propertyOrdering2.ts, 1, 25))
foo() {
>foo : Symbol(Foo.foo, Decl(propertyOrdering2.ts, 1, 32))
var a = this.x;
>a : Symbol(a, Decl(propertyOrdering2.ts, 3, 11))
>this.x : Symbol(Foo.x, Decl(propertyOrdering2.ts, 1, 16))
>this : Symbol(Foo, Decl(propertyOrdering2.ts, 0, 0))
>x : Symbol(Foo.x, Decl(propertyOrdering2.ts, 1, 16))
return this.y;
>this : Symbol(Foo, Decl(propertyOrdering2.ts, 0, 0))
}
}
|