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

Issue 1415533015: If computation of Stream.periodic throws, forward the error to the stream. (Closed)

Created:
5 years, 1 month ago by Lasse Reichstein Nielsen
Modified:
5 years, 1 month ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

If computation of Stream.periodic throws, forward the error to the stream. Fixes issue #24766 BUG= http://dartbug.com/24766 R=floitsch@google.com Committed: https://github.com/dart-lang/sdk/commit/5009e5752444d60799fa71e77199a377b29846ce

Patch Set 1 #

Patch Set 2 : Now ith actual change too. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -12 lines) Patch
M sdk/lib/async/stream.dart View 1 3 chunks +12 lines, -6 lines 0 comments Download
A + tests/lib/async/stream_periodic6_test.dart View 1 chunk +13 lines, -6 lines 3 comments Download

Messages

Total messages: 8 (1 generated)
Lasse Reichstein Nielsen
5 years, 1 month ago (2015-10-30 15:42:08 UTC) #2
floitsch
Looks like something is missing, or did you only intend to change the test? (The ...
5 years, 1 month ago (2015-10-30 20:24:04 UTC) #3
Lasse Reichstein Nielsen
Ack, correct. Have now uploaded the main change as well.
5 years, 1 month ago (2015-10-30 23:47:12 UTC) #4
floitsch
LGTM. https://codereview.chromium.org/1415533015/diff/20001/tests/lib/async/stream_periodic6_test.dart File tests/lib/async/stream_periodic6_test.dart (right): https://codereview.chromium.org/1415533015/diff/20001/tests/lib/async/stream_periodic6_test.dart#newcode25 tests/lib/async/stream_periodic6_test.dart:25: expect(e, 42); maybe also check, that expected == ...
5 years, 1 month ago (2015-10-31 00:10:08 UTC) #5
Lasse Reichstein Nielsen
https://codereview.chromium.org/1415533015/diff/20001/tests/lib/async/stream_periodic6_test.dart File tests/lib/async/stream_periodic6_test.dart (right): https://codereview.chromium.org/1415533015/diff/20001/tests/lib/async/stream_periodic6_test.dart#newcode25 tests/lib/async/stream_periodic6_test.dart:25: expect(e, 42); I think the expectAsync ensures that the ...
5 years, 1 month ago (2015-10-31 11:09:10 UTC) #6
floitsch
https://codereview.chromium.org/1415533015/diff/20001/tests/lib/async/stream_periodic6_test.dart File tests/lib/async/stream_periodic6_test.dart (right): https://codereview.chromium.org/1415533015/diff/20001/tests/lib/async/stream_periodic6_test.dart#newcode25 tests/lib/async/stream_periodic6_test.dart:25: expect(e, 42); On 2015/10/31 11:09:10, Lasse Reichstein Nielsen wrote: ...
5 years, 1 month ago (2015-10-31 19:51:30 UTC) #7
Lasse Reichstein Nielsen
5 years, 1 month ago (2015-11-04 09:28:02 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
5009e5752444d60799fa71e77199a377b29846ce (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698