23 lines
693 B
Text
23 lines
693 B
Text
=== tests/cases/compiler/nestedSelf.ts ===
|
|
module M {
|
|
>M : Symbol(M, Decl(nestedSelf.ts, 0, 0))
|
|
|
|
export class C {
|
|
>C : Symbol(C, Decl(nestedSelf.ts, 0, 10))
|
|
|
|
public n = 42;
|
|
>n : Symbol(n, Decl(nestedSelf.ts, 1, 17))
|
|
|
|
public foo() { [1,2,3].map((x) => { return this.n * x; })}
|
|
>foo : Symbol(foo, Decl(nestedSelf.ts, 2, 17))
|
|
>[1,2,3].map : Symbol(Array.map, Decl(lib.d.ts, 1115, 92))
|
|
>map : Symbol(Array.map, Decl(lib.d.ts, 1115, 92))
|
|
>x : Symbol(x, Decl(nestedSelf.ts, 3, 31))
|
|
>this.n : Symbol(n, Decl(nestedSelf.ts, 1, 17))
|
|
>this : Symbol(C, Decl(nestedSelf.ts, 0, 10))
|
|
>n : Symbol(n, Decl(nestedSelf.ts, 1, 17))
|
|
>x : Symbol(x, Decl(nestedSelf.ts, 3, 31))
|
|
}
|
|
}
|
|
|
|
|