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

Unified Diff: test/regression/0500/0520.unit

Issue 2298993002: Handle metadata annotations in parameter lists with trailing commas. (Closed)
Patch Set: Created 4 years, 4 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 | « pubspec.yaml ('k') | test/whitespace/metadata.unit » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/regression/0500/0520.unit
diff --git a/test/regression/0500/0520.unit b/test/regression/0500/0520.unit
new file mode 100644
index 0000000000000000000000000000000000000000..a7c28179ad9059cfb377495182f6bc3249ce52ed
--- /dev/null
+++ b/test/regression/0500/0520.unit
@@ -0,0 +1,18 @@
+>>>
+import 'package:meta/meta.dart';
+
+class Foo {
+ final int bar;
+ Foo({
+ @required this.bar,
+ });
+}
+<<<
+import 'package:meta/meta.dart';
+
+class Foo {
+ final int bar;
+ Foo({
+ @required this.bar,
+ });
+}
« no previous file with comments | « pubspec.yaml ('k') | test/whitespace/metadata.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698