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

Issue 10542117: Allow optional callStack argument to Future.completeException(). (Closed)

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

Description

Allow optional callStack argument to Future.completeException(). A corresponding getter returns the value provided. transform() and chain() are both updated to provide this when an exception is thrown from their callbacks. Committed: https://code.google.com/p/dart/source/detail?r=8569

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -26 lines) Patch
M corelib/src/future.dart View 5 chunks +21 lines, -15 lines 1 comment Download
M corelib/src/implementation/future_implementation.dart View 7 chunks +22 lines, -9 lines 0 comments Download
M tests/corelib/future_test.dart View 4 chunks +55 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Bob Nystrom
8 years, 6 months ago (2012-06-12 01:06:06 UTC) #1
Siggi Cherem (dart-lang)
8 years, 6 months ago (2012-06-12 18:38:25 UTC) #2
lgtm!

https://chromiumcodereview.appspot.com/10542117/diff/1/corelib/src/future.dart
File corelib/src/future.dart (right):

https://chromiumcodereview.appspot.com/10542117/diff/1/corelib/src/future.dar...
corelib/src/future.dart:51: Object get callStack();
callStack => stackTrace?

Powered by Google App Engine
This is Rietveld 408576698