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

Unified Diff: test/regression/0300/0387.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
Index: test/regression/0300/0387.unit
diff --git a/test/regression/0300/0387.unit b/test/regression/0300/0387.unit
new file mode 100644
index 0000000000000000000000000000000000000000..88fcfbcd5e16ec613a2b0145448341ea0fe6b888
--- /dev/null
+++ b/test/regression/0300/0387.unit
@@ -0,0 +1,19 @@
+>>>
+greet(@Rest(valueHelp: 'who', help: 'Name(s) to greet.') List<String> who,
+ {@Group.start(title: 'Output')
+ @Option(help: 'How many !\'s to append.')
+ int enthusiasm: 0,
+ @Flag(abbr: 'l', help: 'Put names on separate lines.') bool lineMode: false,
+ @Option(name: 'greeting', help: 'Alternate word to greet with e.g. "Hi".')
+ String salutation: 'Hello'}) {}
+<<<
+greet(
+ @Rest(valueHelp: 'who', help: 'Name(s) to greet.')
+ List<String> who,
+ {@Group.start(title: 'Output')
+ @Option(help: 'How many !\'s to append.')
+ int enthusiasm: 0,
+ @Flag(abbr: 'l', help: 'Put names on separate lines.')
+ bool lineMode: false,
+ @Option(name: 'greeting', help: 'Alternate word to greet with e.g. "Hi".')
+ String salutation: 'Hello'}) {}

Powered by Google App Engine
This is Rietveld 408576698