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

Unified Diff: corelib/src/expect.dart

Issue 10891022: Update corelib/ and lib/ to use the new try-catch syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « no previous file | corelib/src/implementation/future_implementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/expect.dart
diff --git a/corelib/src/expect.dart b/corelib/src/expect.dart
index 6e073812791aa7608cd2b93300a57aa640d58b5d..5d27b4b2401215fcda002da73fe5d181cd2d2b93 100644
--- a/corelib/src/expect.dart
+++ b/corelib/src/expect.dart
@@ -265,7 +265,7 @@ class Expect {
String reason = null]) {
try {
f();
- } catch (var e) {
+ } catch (e) {
if (check !== null) {
Expect.isTrue(check(e));
}
« no previous file with comments | « no previous file | corelib/src/implementation/future_implementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698