TypeScript/tests/baselines/reference/thisInInstanceMemberInitializer.types
2015-04-15 16:44:20 -07:00

22 lines
270 B
Plaintext

=== tests/cases/conformance/classes/propertyMemberDeclarations/thisInInstanceMemberInitializer.ts ===
class C {
>C : C
x = this;
>x : C
>this : C
}
class D<T> {
>D : D<T>
>T : T
x = this;
>x : D<T>
>this : D<T>
y: T;
>y : T
>T : T
}