TypeScript/tests/cases/fourslash/breakpointValidationTryCatchFinally.ts

36 lines
625 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path='fourslash.ts' />
// @BaselineFile: bpSpan_tryCatchFinally.baseline
// @Filename: bpSpan_tryCatchFinally.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;
////}
2014-10-21 04:07:18 +02:00
////try {
//// throw (function foo() {
//// new Error(x.toString());
//// })();
////}
////finally {
//// x++;
////}
2014-07-13 01:04:16 +02:00
verify.baselineCurrentFileBreakpointLocations();