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

Side by Side Diff: test/regression/0000/0050.stmt

Issue 1252323003: Allow arguments before and after block-formatted functions. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Update pubspec and changelog. Created 5 years, 4 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
« no previous file with comments | « test/regression/0000/0000.stmt ('k') | test/regression/0000/0057.stmt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 >>> (indent 2) 1 >>> (indent 2)
2 inputStream 2 inputStream
3 .transform(UTF8.decoder) 3 .transform(UTF8.decoder)
4 .transform(new LineSplitter()) 4 .transform(new LineSplitter())
5 .listen( 5 .listen(
6 (String line) { 6 (String line) {
7 print('Got ${line.length} characters from stream'); 7 print('Got ${line.length} characters from stream');
8 }, 8 },
9 onDone: () { print('file is now closed'); }, 9 onDone: () { print('file is now closed'); },
10 onError: (e) { print(e.toString()); }); 10 onError: (e) { print(e.toString()); });
11 <<< 11 <<<
12 inputStream 12 inputStream.transform(UTF8.decoder).transform(new LineSplitter()).listen(
13 .transform(UTF8.decoder) 13 (String line) {
14 .transform(new LineSplitter())
15 .listen((String line) {
16 print('Got ${line.length} characters from stream'); 14 print('Got ${line.length} characters from stream');
17 }, onDone: () { 15 }, onDone: () {
18 print('file is now closed'); 16 print('file is now closed');
19 }, onError: (e) { 17 }, onError: (e) {
20 print(e.toString()); 18 print(e.toString());
21 }); 19 });
OLDNEW
« no previous file with comments | « test/regression/0000/0000.stmt ('k') | test/regression/0000/0057.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698