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

Unified Diff: packages/dart_style/test/whitespace/methods.unit

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 years, 5 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 | « packages/dart_style/test/whitespace/metadata.unit ('k') | packages/dart_style/test/whitespace/script.unit » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/dart_style/test/whitespace/methods.unit
diff --git a/packages/dart_style/test/whitespace/methods.unit b/packages/dart_style/test/whitespace/methods.unit
index e70b8efc7aaac8bf0aff3d89eff1a210f435779b..35c09ca48c80465573f5804890f09cb3eb796522 100644
--- a/packages/dart_style/test/whitespace/methods.unit
+++ b/packages/dart_style/test/whitespace/methods.unit
@@ -34,4 +34,26 @@ class A {
var file = new File(path);
return file;
}
+}
+>>> covariant (skip: published version of analyzer doesn't support 'covariant yet')
+class A {
+ pos( covariant int a,covariant b );
+ opt([ covariant int a,covariant b ]);
+ named({ covariant int a,covariant b });
+ fn( covariant int f(bool b));
+}
+<<<
+class A {
+ pos(covariant int a, covariant b);
+ opt([covariant int a, covariant b]);
+ named({covariant int a, covariant b});
+ fn(covariant int f(bool b));
+}
+>>> covariant in initializing formal (not valid, but dartfmt should accept) (skip: published version of analyzer doesn't support 'covariant yet')
+class A {
+ A( covariant this.foo);
+}
+<<<
+class A {
+ A(covariant this.foo);
}
« no previous file with comments | « packages/dart_style/test/whitespace/metadata.unit ('k') | packages/dart_style/test/whitespace/script.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698