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

Unified Diff: test/regression/0400/0444.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/0400/0444.unit
diff --git a/test/regression/0400/0444.unit b/test/regression/0400/0444.unit
new file mode 100644
index 0000000000000000000000000000000000000000..944f0f270cc233348ddcfceda6c11ec45945787f
--- /dev/null
+++ b/test/regression/0400/0444.unit
@@ -0,0 +1,26 @@
+>>>
+class MyComponent {
+ Object firstArgument;
+ Object superDuperLongNamedArgument;
+ Object secondArgument;
+
+ MyComponent(
+ @Inject(const MyFirstArgument()) this.firstArgument,
+ @Inject(const MySuperDuperLongNamedArgument())
+ this.superDuperLongNamedArgument, // LOOK AT ME
+ @Inject(const MySecondArgument()) this.secondArgument);
+}
+<<<
+class MyComponent {
+ Object firstArgument;
+ Object superDuperLongNamedArgument;
+ Object secondArgument;
+
+ MyComponent(
+ @Inject(const MyFirstArgument())
+ this.firstArgument,
+ @Inject(const MySuperDuperLongNamedArgument())
+ this.superDuperLongNamedArgument, // LOOK AT ME
+ @Inject(const MySecondArgument())
+ this.secondArgument);
+}

Powered by Google App Engine
This is Rietveld 408576698