TypeScript/tests/cases/compiler/nestedBlockScopedBindings11.ts

13 lines
128 B
TypeScript
Raw Normal View History

var x;
{
let x;
() => x;
}
var y;
switch (1) {
case 1:
let y;
() => y;
break;
}