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

Side by Side Diff: packages/dart_style/test/whitespace/metadata.unit

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years 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 | « packages/dart_style/test/whitespace/if.stmt ('k') | packages/dart_style/tool/grind.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 40 columns | 1 40 columns |
2 >>> force newline before directives 2 >>> force newline before directives
3 @deprecated library foo; 3 @deprecated library foo;
4 4
5 @deprecated import 'dart:io'; 5 @deprecated import 'dart:io';
6 6
7 @deprecated export 'dart:io'; 7 @deprecated export 'dart:io';
8 <<< 8 <<<
9 @deprecated 9 @deprecated
10 library foo; 10 library foo;
11 11
12 @deprecated 12 @deprecated
13 import 'dart:io'; 13 import 'dart:io';
14 14
15 @deprecated 15 @deprecated
16 export 'dart:io'; 16 export 'dart:io';
17 >>> metadata on part
18 @foo part "part.dart";
19 <<<
20 @foo
21 part "part.dart";
22 >>> metadata on part of
23 @foo part of bar;
24 <<<
25 @foo
26 part of bar;
17 >>> force newline before types 27 >>> force newline before types
18 @meta class X {} 28 @meta class X {}
19 29
20 @meta class Y = X with Z; 30 @meta class Y = X with Z;
21 31
22 @meta typedef void X(y); 32 @meta typedef void X(y);
23 <<< 33 <<<
24 @meta 34 @meta
25 class X {} 35 class X {}
26 36
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 <<< 218 <<<
209 withReturnType( 219 withReturnType(
210 @foo @bar int fn(@foo param)) {} 220 @foo @bar int fn(@foo param)) {}
211 withoutReturnType( 221 withoutReturnType(
212 @foo @bar fn(@foo param)) {} 222 @foo @bar fn(@foo param)) {}
213 >>> metadata on default formal parameter 223 >>> metadata on default formal parameter
214 positional([@foo bar]) {} 224 positional([@foo bar]) {}
215 named({@foo bar}) {} 225 named({@foo bar}) {}
216 <<< 226 <<<
217 positional([@foo bar]) {} 227 positional([@foo bar]) {}
218 named({@foo bar}) {} 228 named({@foo bar}) {}
229 >>> split between metadata and parameter indents
230 function(@VeryLongMetadataAnnotation longParameter) {}
231 <<<
232 function(
233 @VeryLongMetadataAnnotation
234 longParameter) {}
OLDNEW
« no previous file with comments | « packages/dart_style/test/whitespace/if.stmt ('k') | packages/dart_style/tool/grind.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698