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

Side by Side Diff: pkg/kernel/testcases/input/void-methods.dart

Issue 2747113004: Run dartfmt on kernel package (Closed)
Patch Set: Created 3 years, 9 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/kernel/testcases/input/uninitialized_fields.dart ('k') | pkg/kernel/testcases/reify/native_types_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698