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

Side by Side Diff: pkg/front_end/test/fasta/cascade.dart

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2016, 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 main() {
6 var list = [1]
7 ..add(2)
8 ..add(3)
9 ..addAll([4, 5]);
10 print(list);
11
12 list
13 ..add(2)
14 ..length
15 ..length = 0;
16 print(list);
17
18 list
19 ..add(2)
20 ..[0]
21 ..[0] = 87;
22
23 print(list);
24
25 list = [[1]]
26 ..first.last.toString()
27 ..first[0].toString()
28 ..[0].last.toString();
29
30 print(list);
31 }
OLDNEW
« no previous file with comments | « pkg/front_end/test/fasta/await.dart.outline.expect ('k') | pkg/front_end/test/fasta/cascade.dart.dartk.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698