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

Issue 888463004: Add support for sync* and yield (Closed)

Created:
5 years, 10 months ago by hausner
Modified:
5 years, 10 months ago
Reviewers:
srdjan, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add support for sync* and yield and yield* R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=43516

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 20

Patch Set 9 : #

Patch Set 10 : #

Total comments: 4

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+808 lines, -184 lines) Patch
M runtime/lib/core_patch.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +51 lines, -0 lines 0 comments Download
M runtime/lib/function.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +24 lines, -0 lines 0 comments Download
M runtime/lib/function.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 3 4 5 6 7 8 9 10 11 chunks +117 lines, -43 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +29 lines, -2 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +19 lines, -3 lines 0 comments Download
M runtime/vm/parser.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +10 lines, -2 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 3 4 5 6 7 8 9 10 33 chunks +376 lines, -94 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -2 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +8 lines, -1 line 0 comments Download
M tests/language/async_await_syntax_test.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M tests/language/language.status View 1 2 3 4 5 6 7 8 9 10 3 chunks +7 lines, -30 lines 0 comments Download
M tests/language/language_analyzer.status View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M tests/language/language_analyzer2.status View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -3 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download
A tests/language/sync_generator1_test.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +78 lines, -0 lines 0 comments Download
A tests/language/sync_generator2_test.dart View 1 2 3 4 1 chunk +64 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
hausner
Will add a couple of tests while you take a look at this.
5 years, 10 months ago (2015-01-29 00:13:30 UTC) #2
hausner
Will add a couple of tests while you take a look at this.
5 years, 10 months ago (2015-01-29 00:13:30 UTC) #3
hausner
Added tests. Implemented spec-compliant rules when async, await and yield are reserved words with special ...
5 years, 10 months ago (2015-01-30 22:00:21 UTC) #4
hausner
Updated test expectations and fixed new async_await_syntax_test.
5 years, 10 months ago (2015-02-03 20:56:50 UTC) #5
hausner
Now also with support for yield*.
5 years, 10 months ago (2015-02-04 00:46:38 UTC) #6
srdjan
First round of comments. https://codereview.chromium.org/888463004/diff/140001/runtime/lib/core_patch.dart File runtime/lib/core_patch.dart (right): https://codereview.chromium.org/888463004/diff/140001/runtime/lib/core_patch.dart#newcode37 runtime/lib/core_patch.dart:37: var isYieldEach; Please add comment ...
5 years, 10 months ago (2015-02-04 19:29:12 UTC) #8
hausner
Merged in async/await stack trace changes and addressed first set of comments. https://codereview.chromium.org/888463004/diff/140001/runtime/lib/core_patch.dart File runtime/lib/core_patch.dart ...
5 years, 10 months ago (2015-02-04 22:09:24 UTC) #9
hausner
Added type info to the core_lib code. Also fixed implicit return statement to return false ...
5 years, 10 months ago (2015-02-05 00:41:07 UTC) #10
srdjan
LGTM with comments https://codereview.chromium.org/888463004/diff/180001/tests/language/sync_generator1_test.dart File tests/language/sync_generator1_test.dart (right): https://codereview.chromium.org/888463004/diff/180001/tests/language/sync_generator1_test.dart#newcode43 tests/language/sync_generator1_test.dart:43: main() { Maybe you want to ...
5 years, 10 months ago (2015-02-05 18:01:23 UTC) #11
hausner
Thank you. https://codereview.chromium.org/888463004/diff/180001/tests/language/sync_generator1_test.dart File tests/language/sync_generator1_test.dart (right): https://codereview.chromium.org/888463004/diff/180001/tests/language/sync_generator1_test.dart#newcode43 tests/language/sync_generator1_test.dart:43: main() { On 2015/02/05 18:01:22, srdjan wrote: ...
5 years, 10 months ago (2015-02-05 18:34:51 UTC) #13
hausner
5 years, 10 months ago (2015-02-05 18:37:11 UTC) #14
Message was sent while issue was closed.
Committed patchset #11 (id:200001) manually as r43516 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698