Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(421)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: test/codegen/syncstar_syntax.dart
Issue
1207313002
:
initial sync*, part of #221 (Closed)
Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set:
Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
lib/runtime/dart/_isolate_helper.js
lib/runtime/dart/_js_helper.js
lib/runtime/dart/async.js
lib/runtime/dart/collection.js
lib/runtime/dart/convert.js
lib/runtime/dart/core.js
lib/runtime/dart/isolate.js
lib/runtime/dart/js.js
lib/src/codegen/js_codegen.dart
lib/src/codegen/js_metalet.dart
lib/src/js/nodes.dart
lib/src/js/precedence.dart
lib/src/js/printer.dart
lib/src/js/template.dart
test/codegen/expect.dart
test/codegen/expect/expect.js
test/codegen/expect/expect.txt
test/codegen/expect/syncstar_syntax.js
test/codegen/expect/syncstar_syntax.txt
test/codegen/expect/syncstar_yield_test.js
test/codegen/expect/syncstar_yield_test.txt
test/codegen/expect/syncstar_yieldstar_test.js
test/codegen/expect/syncstar_yieldstar_test.txt
test/codegen/syncstar_syntax.dart
test/codegen/syncstar_yield_test.dart
test/codegen/syncstar_yieldstar_test.dart
View unified diff
|
Download patch
« no previous file with comments
|
« test/codegen/expect/syncstar_yieldstar_test.txt
('k') |
test/codegen/syncstar_yield_test.dart »
('j') |
no next file with comments »
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2
// for details. All rights reserved. Use of this source code is governed by a
3
// BSD-style license that can be found in the LICENSE file.
4
5
Iterable<int> foo() sync* {
6
yield 1;
7
yield* [2, 3];
8
}
9
10
class Class {
11
Iterable<int> bar() sync* {
12
yield 1;
13
yield* [2, 3];
14
}
15
16
static Iterable<int> baz() sync* {
17
yield 1;
18
yield* [2, 3];
19
}
20
}
21
22
main() {
23
Iterable<int> qux() sync* {
24
yield 1;
25
yield* [2, 3];
26
}
27
28
foo().forEach(print);
29
new Class().bar().forEach(print);
30
Class.baz().forEach(print);
31
qux().forEach(print);
32
}
OLD
NEW
« no previous file with comments
|
« test/codegen/expect/syncstar_yieldstar_test.txt
('k') |
test/codegen/syncstar_yield_test.dart »
('j') |
no next file with comments »
Issue 1207313002: initial sync*, part of #221 (Closed)
Created 5 years, 6 months ago by Jennifer Messerly
Modified 5 years, 6 months ago
Reviewers: vsm
Base URL: git@github.com:dart-lang/dev_compiler.git@master
Comments: 4
This is Rietveld
408576698