1b5023bad3
Note the detachedComments and copyright headers comment emitting is not part of this change
19 lines
417 B
JavaScript
19 lines
417 B
JavaScript
//// [localVariablesReturnedFromCatchBlocks.ts]
|
|
function f() {
|
|
try {
|
|
} catch (e) {
|
|
var stack2 = e.stack;
|
|
return stack2; //error TS2095: Could not find symbol 'stack2'.
|
|
}
|
|
}
|
|
|
|
//// [localVariablesReturnedFromCatchBlocks.js]
|
|
function f() {
|
|
try {
|
|
}
|
|
catch (e) {
|
|
var stack2 = e.stack;
|
|
return stack2; //error TS2095: Could not find symbol 'stack2'.
|
|
}
|
|
}
|