Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Unified Diff: tests/language/try_catch3_test.dart

Issue 1060373003: Fix resolution of stack trace parameters (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/try_catch3_test.dart
diff --git a/tests/language/try_catch3_test.dart b/tests/language/try_catch3_test.dart
index e485b61bed7954ce7a8beb9c929af83e2ead2fd1..09cf98bd1148a7c891f6cda3ab28b7ee0fab4786 100644
--- a/tests/language/try_catch3_test.dart
+++ b/tests/language/try_catch3_test.dart
@@ -69,7 +69,7 @@ class Helper {
j += 60;
} catch (e, trace) {
i = 700;
- trace.printStackTrace(e);
+ print(trace.toString());
print(e.getMessage());
}
try {
@@ -80,14 +80,14 @@ class Helper {
}
} on MyParameterizedException<String, TestException> catch (e, trace) {
i = 800;
- trace.printStackTrace(e);
+ print(trace.toString());
rethrow;
} on MyException catch (exception) {
i = 100;
print(exception.getMessage());
} on TestException catch (e, trace) {
i = 200;
- trace.printStackTrace(e);
+ print(trace.toString());
} finally {
i = 900;
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698