Index: tests/language_strong/error_stacktrace_test.dart |
diff --git a/tests/language_strong/error_stacktrace_test.dart b/tests/language_strong/error_stacktrace_test.dart |
index 9cb7f5a6130612b511b6c52ce4d7e18d5340b789..4ec5dbd47c9177b324447b00bc351479bf885ea5 100644 |
--- a/tests/language_strong/error_stacktrace_test.dart |
+++ b/tests/language_strong/error_stacktrace_test.dart |
@@ -14,12 +14,15 @@ class Helper1 { |
static int func1() { |
return func2(); |
} |
+ |
static int func2() { |
return func3(); |
} |
+ |
static int func3() { |
return func4(); |
} |
+ |
static int func4() { |
var i = 0; |
try { |
@@ -31,6 +34,7 @@ class Helper1 { |
} |
return i; |
} |
+ |
static void func5() { |
// Throw an Error. |
throw new ArgumentError("ArgumentError in func5"); |
@@ -41,12 +45,15 @@ class Helper2 { |
static int func1() { |
return func2(); |
} |
+ |
static int func2() { |
return func3(); |
} |
+ |
static int func3() { |
return func4(); |
} |
+ |
static int func4() { |
var i = 0; |
try { |
@@ -59,6 +66,7 @@ class Helper2 { |
} |
return i; |
} |
+ |
static List func5() { |
// Throw an Error. |
throw new ArgumentError("ArgumentError in func5"); |
@@ -69,12 +77,15 @@ class Helper3 { |
static int func1() { |
return func2(); |
} |
+ |
static int func2() { |
return func3(); |
} |
+ |
static int func3() { |
return func4(); |
} |
+ |
static int func4() { |
var i = 0; |
try { |
@@ -92,6 +103,7 @@ class Helper3 { |
} |
return i; |
} |
+ |
static List func5() { |
// Throw an Exception (any random object). |
throw new MyException("MyException in func5"); |