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

Unified Diff: tests/language/mixin_extends_field_test.dart

Issue 12018014: Start allowing mixin application extensions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Extend test cases. Created 7 years, 11 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
Index: tests/language/mixin_extends_field_test.dart
diff --git a/tests/language/mixin_field_test.dart b/tests/language/mixin_extends_field_test.dart
similarity index 97%
copy from tests/language/mixin_field_test.dart
copy to tests/language/mixin_extends_field_test.dart
index 251aa50b0960bae2f1faf6d85bb2e8f61012eefa..eafc0e8b0c37aa1aa4fe5debdf91e7933f06b0d6 100644
--- a/tests/language/mixin_field_test.dart
+++ b/tests/language/mixin_extends_field_test.dart
@@ -14,9 +14,9 @@ class M2 {
var baz = "M2-baz";
}
-typedef C = S with M1;
-typedef D = S with M1, M2;
-typedef E = S with M2, M1;
+class C extends S with M1 { }
+class D extends S with M1, M2 { }
+class E extends S with M2, M1 { }
class F extends E {
var fez = "F-fez";
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/tree/nodes.dart ('k') | tests/language/mixin_extends_is_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698