42 lines
1.2 KiB
Text
42 lines
1.2 KiB
Text
=== tests/cases/compiler/downlevelLetConst19.ts ===
|
|
'use strict'
|
|
declare function use(a: any);
|
|
>use : Symbol(use, Decl(downlevelLetConst19.ts, 0, 12))
|
|
>a : Symbol(a, Decl(downlevelLetConst19.ts, 1, 21))
|
|
|
|
var x;
|
|
>x : Symbol(x, Decl(downlevelLetConst19.ts, 2, 3))
|
|
|
|
function a() {
|
|
>a : Symbol(a, Decl(downlevelLetConst19.ts, 2, 6))
|
|
{
|
|
let x;
|
|
>x : Symbol(x, Decl(downlevelLetConst19.ts, 5, 7))
|
|
|
|
use(x);
|
|
>use : Symbol(use, Decl(downlevelLetConst19.ts, 0, 12))
|
|
>x : Symbol(x, Decl(downlevelLetConst19.ts, 5, 7))
|
|
|
|
function b() {
|
|
>b : Symbol(b, Decl(downlevelLetConst19.ts, 6, 11))
|
|
{
|
|
let x;
|
|
>x : Symbol(x, Decl(downlevelLetConst19.ts, 10, 15))
|
|
|
|
use(x);
|
|
>use : Symbol(use, Decl(downlevelLetConst19.ts, 0, 12))
|
|
>x : Symbol(x, Decl(downlevelLetConst19.ts, 10, 15))
|
|
}
|
|
use(x);
|
|
>use : Symbol(use, Decl(downlevelLetConst19.ts, 0, 12))
|
|
>x : Symbol(x, Decl(downlevelLetConst19.ts, 5, 7))
|
|
}
|
|
}
|
|
use(x)
|
|
>use : Symbol(use, Decl(downlevelLetConst19.ts, 0, 12))
|
|
>x : Symbol(x, Decl(downlevelLetConst19.ts, 2, 3))
|
|
}
|
|
use(x)
|
|
>use : Symbol(use, Decl(downlevelLetConst19.ts, 0, 12))
|
|
>x : Symbol(x, Decl(downlevelLetConst19.ts, 2, 3))
|
|
|