2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/returnStatement1.ts ===
|
|
|
|
function f() {
|
2015-04-13 23:01:57 +02:00
|
|
|
>f : () => (s: any) => void, Symbol(f, Decl(returnStatement1.ts, 0, 0))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
return function (s) {
|
2014-08-22 03:39:46 +02:00
|
|
|
>function (s) { var x = s; } : (s: any) => void
|
2015-04-13 23:01:57 +02:00
|
|
|
>s : any, Symbol(s, Decl(returnStatement1.ts, 1, 21))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
var x = s;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : any, Symbol(x, Decl(returnStatement1.ts, 2, 11))
|
|
|
|
>s : any, Symbol(s, Decl(returnStatement1.ts, 1, 21))
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
("harmless extra line");
|
|
|
|
>("harmless extra line") : string
|
2015-04-13 21:36:11 +02:00
|
|
|
>"harmless extra line" : string
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|