File: unusedLocalsOnFunctionExpressionWithinFunctionExpression2.symbols

package info (click to toggle)
node-typescript 4.9.5%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 533,908 kB
  • sloc: javascript: 2,018,330; makefile: 7; sh: 1
file content (27 lines) | stat: -rw-r--r-- 1,589 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
=== tests/cases/compiler/unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts ===
var greeter = function (person: string, person2: string) {
>greeter : Symbol(greeter, Decl(unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts, 0, 3))
>person : Symbol(person, Decl(unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts, 0, 24))
>person2 : Symbol(person2, Decl(unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts, 0, 39))

    var unused = 20;
>unused : Symbol(unused, Decl(unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts, 1, 7))

    var maker = function (child: string): void {
>maker : Symbol(maker, Decl(unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts, 2, 7))
>child : Symbol(child, Decl(unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts, 2, 26))

        var unused2 = 22;
>unused2 : Symbol(unused2, Decl(unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts, 3, 11))
    }
    var maker2 = function (child2: string): void {
>maker2 : Symbol(maker2, Decl(unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts, 5, 7))
>child2 : Symbol(child2, Decl(unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts, 5, 27))

        var unused3 = 23;
>unused3 : Symbol(unused3, Decl(unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts, 6, 11))
    }
    maker2(person2);
>maker2 : Symbol(maker2, Decl(unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts, 5, 7))
>person2 : Symbol(person2, Decl(unusedLocalsOnFunctionExpressionWithinFunctionExpression2.ts, 0, 39))
}