18 lines
706 B
Text
18 lines
706 B
Text
=== tests/cases/compiler/functionCall5.ts ===
|
|
module m1 { export class c1 { public a; }}
|
|
>m1 : Symbol(m1, Decl(functionCall5.ts, 0, 0))
|
|
>c1 : Symbol(c1, Decl(functionCall5.ts, 0, 11))
|
|
>a : Symbol(a, Decl(functionCall5.ts, 0, 29))
|
|
|
|
function foo():m1.c1{return new m1.c1();};
|
|
>foo : Symbol(foo, Decl(functionCall5.ts, 0, 42))
|
|
>m1 : Symbol(m1, Decl(functionCall5.ts, 0, 0))
|
|
>c1 : Symbol(m1.c1, Decl(functionCall5.ts, 0, 11))
|
|
>m1.c1 : Symbol(m1.c1, Decl(functionCall5.ts, 0, 11))
|
|
>m1 : Symbol(m1, Decl(functionCall5.ts, 0, 0))
|
|
>c1 : Symbol(m1.c1, Decl(functionCall5.ts, 0, 11))
|
|
|
|
var x = foo();
|
|
>x : Symbol(x, Decl(functionCall5.ts, 2, 3))
|
|
>foo : Symbol(foo, Decl(functionCall5.ts, 0, 42))
|
|
|