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

Unified Diff: corelib/src/implementation/future_implementation.dart

Issue 9006053: frog await: allow errors after the await within try-catch blocks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: '' Created 9 years 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 | frog/await/transformation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/implementation/future_implementation.dart
diff --git a/corelib/src/implementation/future_implementation.dart b/corelib/src/implementation/future_implementation.dart
index 566fc92ffff65bf4efb4597b143bcd7a7b4ecbad..47c1e5d8c07ac628f806556c1f7e1b1e0de3fc1c 100644
--- a/corelib/src/implementation/future_implementation.dart
+++ b/corelib/src/implementation/future_implementation.dart
@@ -100,6 +100,7 @@ class FutureImpl<T> implements Future<T> {
for (Function handler in _exceptionHandlers) {
if (handler(_exception)) {
_exceptionHandled = true;
+ break;
Siggi Cherem (dart-lang) 2011/12/28 20:11:59 Matt - Something I wanted to make sure here is thi
mattsh 2011/12/28 20:55:57 Yes. This is good.
}
}
}
« no previous file with comments | « no previous file | frog/await/transformation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698