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

Unified Diff: test/whitespace/metadata.unit

Issue 1475873002: More sophisticated handling of parameter metadata. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 1 month 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
« lib/src/source_visitor.dart ('K') | « test/regression/0400/0444.unit ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/whitespace/metadata.unit
diff --git a/test/whitespace/metadata.unit b/test/whitespace/metadata.unit
index 29335fa1715506fe824d7f40532f9870f6773df7..292e8c865352b8e8c8c9b610fdd38205f5162c49 100644
--- a/test/whitespace/metadata.unit
+++ b/test/whitespace/metadata.unit
@@ -225,4 +225,10 @@ positional([@foo bar]) {}
named({@foo bar}) {}
<<<
positional([@foo bar]) {}
-named({@foo bar}) {}
+named({@foo bar}) {}
+>>> split between metadata and parameter indents
+function(@VeryLongMetadataAnnotation longParameter) {}
+<<<
+function(
+ @VeryLongMetadataAnnotation
+ longParameter) {}
« lib/src/source_visitor.dart ('K') | « test/regression/0400/0444.unit ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698