TypeScript/tests/cases/compiler/nestedBlockScopedBindings12.ts
2016-01-20 15:23:46 -08:00

13 lines
124 B
TypeScript

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