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

Unified Diff: tests/language/mixin_type_parameters_super_extends_test.dart

Issue 12036101: Add more tests and fix the parser to deal with generic superclasses for mixin applications. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove newline. 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
« no previous file with comments | « tests/language/mixin_type_parameters_mixin_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/mixin_type_parameters_super_extends_test.dart
diff --git a/tests/language/mixin_type_parameters_super_test.dart b/tests/language/mixin_type_parameters_super_extends_test.dart
similarity index 95%
copy from tests/language/mixin_type_parameters_super_test.dart
copy to tests/language/mixin_type_parameters_super_extends_test.dart
index 5c4b66086fb760e851530ac50b430c5793980907..d05fd7a2c428dbc1f9fe703579a9b423c229fa0f 100644
--- a/tests/language/mixin_type_parameters_super_test.dart
+++ b/tests/language/mixin_type_parameters_super_extends_test.dart
@@ -38,10 +38,10 @@ class S<T> {
class M {
}
-typedef C0<T> = S with M;
-typedef C1<T> = S<T> with M;
-typedef C2<T> = S<int> with M;
-typedef C3 = S<String> with M;
+class C0<T> extends S with M { }
+class C1<T> extends S<T> with M { }
+class C2<T> extends S<int> with M { }
+class C3 extends S<String> with M { }
main() {
var c0 = new C0();
« no previous file with comments | « tests/language/mixin_type_parameters_mixin_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698