Chromium Code Reviews
DescriptionRevert changes to Future.chain() and Future.transform() from http://codereview.chromium.org/10517006
Since onComplete swallows exceptions, the new implementation doesn't propagate exceptions thrown by the transforming function, where there's a then() handler but no handleException() handler.
The right fix is to invoke handlers (including the default 'throw the exception' error handler) on the event loop rather than synchronously, but there's no API for that in corelib yet.
BUG=3489
Committed: https://code.google.com/p/dart/source/detail?r=8501
Patch Set 1 #
Total comments: 1
Messages
Total messages: 3 (0 generated)
|
|||||||||||||||||||||||||||||||||||||