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

Unified Diff: tests/language/mixin_forwarding_constructor2_test.dart

Issue 707073002: Fix analyzer's treatment of mixin constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improve error message. Created 6 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
« no previous file with comments | « tests/language/language_dart2js.status ('k') | tests/language/mixin_forwarding_constructor3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/mixin_forwarding_constructor2_test.dart
diff --git a/tests/language/mixin_forwarding_constructor2_test.dart b/tests/language/mixin_forwarding_constructor2_test.dart
index 1178196e4e569ad965cf951e70d2c700f5334630..0c5127650376837cda742b80c15072571c77c196 100644
--- a/tests/language/mixin_forwarding_constructor2_test.dart
+++ b/tests/language/mixin_forwarding_constructor2_test.dart
@@ -14,7 +14,7 @@ abstract class Mixin2 {
class A {
var superField;
- A([this.superField = 3]);
+ A() : superField = 3;
}
class B extends A with Mixin1, Mixin2 {
« no previous file with comments | « tests/language/language_dart2js.status ('k') | tests/language/mixin_forwarding_constructor3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698