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

Issue 1073623002: Fix spurious resume when awaiting future in async* code (Closed)

Created:
5 years, 8 months ago by hausner
Modified:
5 years, 8 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, sigurdm, Lasse Reichstein Nielsen
Visibility:
Public.

Description

Fix spurious resume when awaiting future in async* code Fixes issue reported in bug 23116. The equivalent fix for dart2js contains a test case for this. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=44985

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -3 lines) Patch
M runtime/lib/core_patch.dart View 1 3 chunks +8 lines, -2 lines 2 comments Download
M runtime/vm/parser.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/parser.cc View 2 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 12 (3 generated)
hausner
The code in parser.cc comes in handy when debugging auto-generated code. It's not used for ...
5 years, 8 months ago (2015-04-08 21:27:46 UTC) #2
Ivan Posva
LGTM -ip https://codereview.chromium.org/1073623002/diff/1/runtime/lib/core_patch.dart File runtime/lib/core_patch.dart (right): https://codereview.chromium.org/1073623002/diff/1/runtime/lib/core_patch.dart#newcode67 runtime/lib/core_patch.dart:67: // if (controller.isCanelled) return; Cannelloni?
5 years, 8 months ago (2015-04-08 21:49:55 UTC) #3
hausner
Committed patchset #2 (id:20001) manually as r44985 (presubmit successful).
5 years, 8 months ago (2015-04-08 22:09:27 UTC) #4
hausner
Thanks. https://codereview.chromium.org/1073623002/diff/1/runtime/lib/core_patch.dart File runtime/lib/core_patch.dart (right): https://codereview.chromium.org/1073623002/diff/1/runtime/lib/core_patch.dart#newcode67 runtime/lib/core_patch.dart:67: // if (controller.isCanelled) return; On 2015/04/08 21:49:55, Ivan ...
5 years, 8 months ago (2015-04-08 22:12:45 UTC) #5
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/1073623002/diff/20001/runtime/lib/core_patch.dart File runtime/lib/core_patch.dart (right): https://codereview.chromium.org/1073623002/diff/20001/runtime/lib/core_patch.dart#newcode46 runtime/lib/core_patch.dart:46: isSuspendedAtYield = false; If I understand this correctly, ...
5 years, 8 months ago (2015-04-09 06:35:30 UTC) #7
hausner
https://codereview.chromium.org/1073623002/diff/20001/runtime/lib/core_patch.dart File runtime/lib/core_patch.dart (right): https://codereview.chromium.org/1073623002/diff/20001/runtime/lib/core_patch.dart#newcode46 runtime/lib/core_patch.dart:46: isSuspendedAtYield = false; On 2015/04/09 06:35:30, Lasse Reichstein Nielsen ...
5 years, 8 months ago (2015-04-09 17:10:19 UTC) #8
kasperl
No tests?
5 years, 8 months ago (2015-04-10 08:27:18 UTC) #10
kasperl
Let me rephrase that: I think it would have been nice to submit this with ...
5 years, 8 months ago (2015-04-10 08:28:47 UTC) #11
hausner
5 years, 8 months ago (2015-04-10 15:42:17 UTC) #12
Message was sent while issue was closed.
As Ivan mentioned, I didn't want to "steal" the test from the dart2js CL. I did
run that test as a one-off to check this CL.

Powered by Google App Engine
This is Rietveld 408576698