2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/conformance/classes/propertyMemberDeclarations/thisInInstanceMemberInitializer.ts ===
|
|
|
|
class C {
|
2015-04-13 22:54:22 +02:00
|
|
|
>C : C, Symbol(C,Decl(thisInInstanceMemberInitializer.ts,0,0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
x = this;
|
2015-04-13 22:54:22 +02:00
|
|
|
>x : C, Symbol(x,Decl(thisInInstanceMemberInitializer.ts,0,9))
|
|
|
|
>this : C, Symbol(C,Decl(thisInInstanceMemberInitializer.ts,0,0))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
class D<T> {
|
2015-04-13 22:54:22 +02:00
|
|
|
>D : D<T>, Symbol(D,Decl(thisInInstanceMemberInitializer.ts,2,1))
|
|
|
|
>T : T, Symbol(T,Decl(thisInInstanceMemberInitializer.ts,4,8))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
x = this;
|
2015-04-13 22:54:22 +02:00
|
|
|
>x : D<T>, Symbol(x,Decl(thisInInstanceMemberInitializer.ts,4,12))
|
|
|
|
>this : D<T>, Symbol(D,Decl(thisInInstanceMemberInitializer.ts,2,1))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
y: T;
|
2015-04-13 22:54:22 +02:00
|
|
|
>y : T, Symbol(y,Decl(thisInInstanceMemberInitializer.ts,5,13))
|
|
|
|
>T : T, Symbol(T,Decl(thisInInstanceMemberInitializer.ts,4,8))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|