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

Side by Side Diff: pkg/analyzer/test/services/data/cu_tests.data

Issue 124863004: Formatter fixes (symbols, natives, function type aliases, oh my). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « pkg/analyzer/lib/src/services/formatter_impl.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 >>> 1 >>>
2 class 2 class
3 A 3 A
4 { 4 {
5 } 5 }
6 <<< 6 <<<
7 class A { 7 class A {
8 } 8 }
9 >>> dartbug.com/15876 9 >>> dartbug.com/15876
10 // fisk 10 // fisk
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 } 63 }
64 64
65 @NoInline() 65 @NoInline()
66 int foo(@NoInline() bar) => bar + 42; 66 int foo(@NoInline() bar) => bar + 42;
67 67
68 class Z<@NoInline() Y> { 68 class Z<@NoInline() Y> {
69 69
70 } 70 }
71 71
72 @NoInline() 72 @NoInline()
73 typedef void X(y);
74
75 @NoInline()
73 class Y = X; 76 class Y = X;
74 77
75 @NoInline() 78 @NoInline()
76 class X { 79 class X {
77 80
78 @NoInline() 81 @NoInline()
79 var _x; 82 var _x;
80 83
81 @NoInline() 84 @NoInline()
82 X.y() { 85 X.y() {
(...skipping 22 matching lines...) Expand all
105 } 108 }
106 109
107 @NoInline() 110 @NoInline()
108 int foo(@NoInline() bar) => bar + 42; 111 int foo(@NoInline() bar) => bar + 42;
109 112
110 class Z<@NoInline() Y> { 113 class Z<@NoInline() Y> {
111 114
112 } 115 }
113 116
114 @NoInline() 117 @NoInline()
118 typedef void X(y);
119
120 @NoInline()
115 class Y = X; 121 class Y = X;
116 122
117 @NoInline() 123 @NoInline()
118 class X { 124 class X {
119 125
120 @NoInline() 126 @NoInline()
121 var _x; 127 var _x;
122 128
123 @NoInline() 129 @NoInline()
124 X.y() { 130 X.y() {
125 @NoInline() 131 @NoInline()
126 const y = null; 132 const y = null;
127 } 133 }
128 134
129 @NoInline() 135 @NoInline()
130 factory X(@NoInline() x) => null; 136 factory X(@NoInline() x) => null;
131 137
132 @NoInline() 138 @NoInline()
133 int x() => null; 139 int x() => null;
134 } 140 }
141 >>>
142 Object get _globalState => null;
143
144 set _globalState(Object val) {
145 }
146 <<<
147 Object get _globalState => null;
148
149 set _globalState(Object val) {
150 }
151 >>>
152 var x = #foo;
153 var y=#foo.bar.baz;
154 <<<
155 var x = #foo;
156 var y = #foo.bar.baz;
157 >>>
158 class Zounds extends Object native "Zapp" {
159 }
160 <<<
161 class Zounds extends Object native "Zapp" {
162 }
163 >>>
164 @DomName('DatabaseCallback')
165 @Experimental() // deprecated
166 typedef void DatabaseCallback(database);
167 <<<
168 @DomName('DatabaseCallback')
169 @Experimental() // deprecated
170 typedef void DatabaseCallback(database);
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/services/formatter_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698