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

Unified Diff: pkg/analyzer/test/services/data/cu_tests.data

Issue 125253005: Formatter support for metadata. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/services/formatter_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/services/data/cu_tests.data
===================================================================
--- pkg/analyzer/test/services/data/cu_tests.data (revision 31491)
+++ pkg/analyzer/test/services/data/cu_tests.data (working copy)
@@ -47,4 +47,88 @@
void set foo(int bar) {
}
-int get baz => null;
+int get baz => null;
+>>>
+@deprecated
+library foo;
+
+@deprecated
+import 'dart:io';
+
+@deprecated
+export 'dart:io';
+
+class NoInline {
+ const NoInline();
+}
+
+@NoInline()
+int foo(@NoInline() bar) => bar + 42;
+
+class Z<@NoInline() Y> {
+
+}
+
+@NoInline()
+class Y = X;
+
+@NoInline()
+class X {
+
+ @NoInline()
+ var _x;
+
+ @NoInline()
+ X.y() {
+ @NoInline()
+ const y = null;
+ }
+
+ @NoInline()
+ factory X(@NoInline() x) => null;
+
+ @NoInline()
+ int x() => null;
+}
+<<<
+@deprecated
+library foo;
+
+@deprecated
+import 'dart:io';
+
+@deprecated
+export 'dart:io';
+
+class NoInline {
+ const NoInline();
+}
+
+@NoInline()
+int foo(@NoInline() bar) => bar + 42;
+
+class Z<@NoInline() Y> {
+
+}
+
+@NoInline()
+class Y = X;
+
+@NoInline()
+class X {
+
+ @NoInline()
+ var _x;
+
+ @NoInline()
+ X.y() {
+ @NoInline()
+ const y = null;
+ }
+
+ @NoInline()
+ factory X(@NoInline() x) => null;
+
+ @NoInline()
+ int x() => null;
+}
« 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