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

Issue 10255015: Handle an exception handler returning null more gracefully. (Closed)

Created:
8 years, 8 months ago by Bob Nystrom
Modified:
8 years, 8 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Handle an exception handler returning null more gracefully. Committed: https://code.google.com/p/dart/source/detail?r=7109

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -8 lines) Patch
M corelib/src/implementation/future_implementation.dart View 4 chunks +10 lines, -8 lines 2 comments Download

Messages

Total messages: 2 (0 generated)
Bob Nystrom
8 years, 8 months ago (2012-04-27 20:18:41 UTC) #1
Siggi Cherem (dart-lang)
8 years, 8 months ago (2012-04-27 22:32:51 UTC) #2
lgtm

https://chromiumcodereview.appspot.com/10255015/diff/1/corelib/src/implementa...
File corelib/src/implementation/future_implementation.dart (right):

https://chromiumcodereview.appspot.com/10255015/diff/1/corelib/src/implementa...
corelib/src/implementation/future_implementation.dart:22: bool _exceptionHandled
= false;
yay!

https://chromiumcodereview.appspot.com/10255015/diff/1/corelib/src/implementa...
corelib/src/implementation/future_implementation.dart:94: // Explicitly check
for true here so that if the handler returns null,
booo! :(

Powered by Google App Engine
This is Rietveld 408576698