TypeScript/tests/baselines/reference/sourceMapValidationTryCatchFinally.js
2014-07-12 17:30:19 -07:00

45 lines
567 B
TypeScript

//// [sourceMapValidationTryCatchFinally.ts]
var x = 10;
try {
x = x + 1;
} catch (e) {
x = x - 1;
} finally {
x = x * 10;
}
try
{
x = x + 1;
throw new Error();
}
catch (e)
{
x = x - 1;
}
finally
{
x = x * 10;
}
//// [sourceMapValidationTryCatchFinally.js]
var x = 10;
try {
x = x + 1;
}
catch (e) {
x = x - 1;
}
finally {
x = x * 10;
}
try {
x = x + 1;
throw new Error();
}
catch (e) {
x = x - 1;
}
finally {
x = x * 10;
}
//# sourceMappingURL=sourceMapValidationTryCatchFinally.js.map