Index: pkg/compiler/lib/src/diagnostics/messages.dart |
diff --git a/pkg/compiler/lib/src/diagnostics/messages.dart b/pkg/compiler/lib/src/diagnostics/messages.dart |
index 8ddc535314d0be4a6cd7b9b724eafaebd7dd7c83..dbcab63845a57e207d591acf26d6ac936418d536 100644 |
--- a/pkg/compiler/lib/src/diagnostics/messages.dart |
+++ b/pkg/compiler/lib/src/diagnostics/messages.dart |
@@ -687,6 +687,26 @@ class C { |
main() { |
new C(4, 2); |
} |
+""", |
+ """ |
+class C { |
+ int x; |
+ C(int x, this.x); |
+} |
+ |
+main() { |
+ new C(4, 2); |
+} |
+""", |
+ """ |
+class C { |
+ int x; |
+ C(this.x, this.x); |
+} |
+ |
+main() { |
+ new C(4, 2); |
+} |
""" |
]), |