2015-04-16 22:29:20 +02:00
|
|
|
=== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments16_ES6.ts ===
|
|
|
|
|
|
|
|
function f() {
|
|
|
|
>f : Symbol(f, Decl(emitArrowFunctionWhenUsingArguments16_ES6.ts, 0, 0))
|
|
|
|
|
|
|
|
var arguments = "hello";
|
|
|
|
>arguments : Symbol(arguments, Decl(emitArrowFunctionWhenUsingArguments16_ES6.ts, 2, 7), Decl(emitArrowFunctionWhenUsingArguments16_ES6.ts, 6, 7))
|
|
|
|
|
|
|
|
if (Math.random()) {
|
|
|
|
>Math.random : Symbol(Math.random, Decl(lib.d.ts, 608, 38))
|
2015-06-04 20:53:51 +02:00
|
|
|
>Math : Symbol(Math, Decl(lib.d.ts, 522, 1), Decl(lib.d.ts, 633, 11), Decl(lib.d.ts, 1703, 60))
|
2015-04-16 22:29:20 +02:00
|
|
|
>random : Symbol(Math.random, Decl(lib.d.ts, 608, 38))
|
|
|
|
|
|
|
|
return () => arguments[0];
|
|
|
|
>arguments : Symbol(arguments)
|
|
|
|
}
|
|
|
|
var arguments = "world";
|
|
|
|
>arguments : Symbol(arguments, Decl(emitArrowFunctionWhenUsingArguments16_ES6.ts, 2, 7), Decl(emitArrowFunctionWhenUsingArguments16_ES6.ts, 6, 7))
|
|
|
|
}
|