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

Unified Diff: tests/language/mixin_illegal_constructor_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
« no previous file with comments | « tests/compiler/dart2js/unparser_test.dart ('k') | tests/language/mixin_illegal_cycles_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/mixin_illegal_constructor_test.dart
diff --git a/tests/language/mixin_illegal_constructor_test.dart b/tests/language/mixin_illegal_constructor_test.dart
index c3891ad48f1bfcbed1a4ab327b2be63fff4bc041..d0a59fbdd5349d35911ef835039116ad1350642e 100644
--- a/tests/language/mixin_illegal_constructor_test.dart
+++ b/tests/language/mixin_illegal_constructor_test.dart
@@ -15,13 +15,13 @@ class M2 {
M2.named();
}
-typedef C0 = Object with M0;
-typedef C1 = Object with M1; /// 01: compile-time error
-typedef C2 = Object with M2; /// 02: compile-time error
-typedef C3 = Object with M0, M1; /// 03: compile-time error
-typedef C4 = Object with M1, M0; /// 04: compile-time error
-typedef C5 = Object with M0, M2; /// 05: compile-time error
-typedef C6 = Object with M2, M0; /// 06: compile-time error
+class C0 = Object with M0;
+class C1 = Object with M1; /// 01: compile-time error
+class C2 = Object with M2; /// 02: compile-time error
+class C3 = Object with M0, M1; /// 03: compile-time error
+class C4 = Object with M1, M0; /// 04: compile-time error
+class C5 = Object with M0, M2; /// 05: compile-time error
+class C6 = Object with M2, M0; /// 06: compile-time error
class D0 extends Object with M0 { }
class D1 extends Object with M1 { } /// 07: compile-time error
« no previous file with comments | « tests/compiler/dart2js/unparser_test.dart ('k') | tests/language/mixin_illegal_cycles_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698