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

Unified Diff: tests/language/mixin_type_parameters_errors_test.dart

Issue 27300003: Change "typedef" to "class" in core library and related tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update some dart2js tests and unparser. Created 7 years, 2 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_type_parameters_errors_test.dart
diff --git a/tests/language/mixin_type_parameters_errors_test.dart b/tests/language/mixin_type_parameters_errors_test.dart
index c5889e5be76f5056c2f3ec21ac4364bee8aaf50b..63448eaf8b17e2486462cc0cd920eb58aa9c2f17 100644
--- a/tests/language/mixin_type_parameters_errors_test.dart
+++ b/tests/language/mixin_type_parameters_errors_test.dart
@@ -9,8 +9,8 @@ class A<X> extends S<int> with M<double> { }
class B<U, V> extends S with M<U, V> { } /// 01: static type warning
class C<A, B> extends S<A, int> with M { } /// 02: static type warning
-typedef F<X> = S<X> with M<X>;
-typedef G = S<int> with M<double, double>; /// 05: static type warning
+class F<X> = S<X> with M<X>;
+class G = S<int> with M<double, double>; /// 05: static type warning
main() {
var a;
@@ -19,4 +19,4 @@ main() {
a = new A<String, String>(); /// 03: static type warning
a = new F<int>();
a = new F<int, String>(); /// 04: static type warning
-}
+}
« no previous file with comments | « tests/language/mixin_type_parameter4_test.dart ('k') | tests/language/mixin_type_parameters_mixin_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698