TypeScript/tests/baselines/reference/newArrays.types
Vladimir Matveev f06423bffc Revert "add part of test baselines"
This reverts commit 502b2ba321.
2016-03-09 17:08:26 -08:00

44 lines
663 B
Plaintext

=== tests/cases/compiler/newArrays.ts ===
module M {
>M : typeof M
class Foo {}
>Foo : Foo
class Gar {
>Gar : Gar
public fa: Foo[];
>fa : Foo[]
>Foo : Foo
public x = 10;
>x : number
>10 : number
public y = 10;
>y : number
>10 : number
public m () {
>m : () => void
this.fa = new Array<Foo>(this.x * this.y);
>this.fa = new Array<Foo>(this.x * this.y) : Foo[]
>this.fa : Foo[]
>this : this
>fa : Foo[]
>new Array<Foo>(this.x * this.y) : Foo[]
>Array : ArrayConstructor
>Foo : Foo
>this.x * this.y : number
>this.x : number
>this : this
>x : number
>this.y : number
>this : this
>y : number
}
}
}