2014-07-13 01:04:16 +02:00
|
|
|
//// [tryStatements.ts]
|
|
|
|
function fn() {
|
|
|
|
try {
|
|
|
|
|
|
|
|
} catch (x) {
|
|
|
|
var x: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
try { } finally { }
|
|
|
|
|
|
|
|
try { }catch(z){ } finally { }
|
|
|
|
}
|
|
|
|
|
|
|
|
//// [tryStatements.js]
|
|
|
|
function fn() {
|
|
|
|
try {
|
|
|
|
}
|
|
|
|
catch (x) {
|
|
|
|
var x;
|
|
|
|
}
|
2015-02-07 03:45:09 +01:00
|
|
|
try { }
|
|
|
|
finally { }
|
|
|
|
try { }
|
|
|
|
catch (z) { }
|
|
|
|
finally { }
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|