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

Issue 542893004: Bubble up exceptions throw async/await. (Closed)

Created:
6 years, 3 months ago by Michael Lippautz (Google)
Modified:
6 years, 3 months ago
Reviewers:
srdjan, hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Bubble up exceptions throw async/await. This CL addresses bubbling up exceptions through async and await. It adds another parameter to the continuation that can be used to rethrow an error. BUG= R=hausner@google.com, srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=39926

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : add some tests #

Total comments: 4

Patch Set 4 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+407 lines, -40 lines) Patch
M runtime/lib/core_patch.dart View 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/ast_transformer.cc View 4 chunks +48 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 2 chunks +28 lines, -10 lines 0 comments Download
M runtime/vm/parser.h View 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/parser.cc View 1 2 3 10 chunks +236 lines, -26 lines 0 comments Download
M runtime/vm/symbols.h View 2 chunks +6 lines, -0 lines 0 comments Download
A tests/language/await_exceptions_test.dart View 1 2 3 1 chunk +80 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Michael Lippautz (Google)
PTAL Maybe somebody has to take over this. The work around through calling a function ...
6 years, 3 months ago (2014-09-05 16:38:58 UTC) #2
hausner
Do the tests run with this CL applied? Is there anything missing or does the ...
6 years, 3 months ago (2014-09-05 17:52:27 UTC) #3
Michael Lippautz (Google)
On 2014/09/05 17:52:27, hausner wrote: > Do the tests run with this CL applied? > ...
6 years, 3 months ago (2014-09-05 18:03:30 UTC) #4
hausner
LGTM.
6 years, 3 months ago (2014-09-05 19:10:53 UTC) #5
srdjan
lgtm https://codereview.chromium.org/542893004/diff/40001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/542893004/diff/40001/runtime/vm/parser.cc#newcode9 runtime/vm/parser.cc:9: #include "vm/ast_printer.h" Remove? https://codereview.chromium.org/542893004/diff/40001/tests/language/await_exceptions_test.dart File tests/language/await_exceptions_test.dart (right): https://codereview.chromium.org/542893004/diff/40001/tests/language/await_exceptions_test.dart#newcode67 ...
6 years, 3 months ago (2014-09-05 19:32:11 UTC) #6
Michael Lippautz (Google)
Thanks! https://codereview.chromium.org/542893004/diff/40001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/542893004/diff/40001/runtime/vm/parser.cc#newcode9 runtime/vm/parser.cc:9: #include "vm/ast_printer.h" On 2014/09/05 19:32:10, srdjan wrote: > ...
6 years, 3 months ago (2014-09-05 19:50:19 UTC) #7
Michael Lippautz (Google)
6 years, 3 months ago (2014-09-05 19:50:45 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 39926 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698