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

Side by Side Diff: pkg/front_end/testcases/void-methods.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
1 class Foo { 1 class Foo {
2 List list = [1, 2, 3]; 2 List list = [1, 2, 3];
3 set first(x) => list[0] = x; 3 set first(x) => list[0] = x;
4 operator []=(x, y) => list[x] = y; 4 operator []=(x, y) => list[x] = y;
5 void clear() => list.clear(); 5 void clear() => list.clear();
6 } 6 }
7 7
8 main() { 8 main() {
9 new Foo().first = 4; 9 new Foo().first = 4;
10 new Foo()[3] = 4; 10 new Foo()[3] = 4;
11 new Foo().clear(); 11 new Foo().clear();
12 } 12 }
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/unused_methods.dart.strong.expect ('k') | pkg/front_end/testcases/void-methods.dart.direct.expect » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698