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

Unified Diff: tests/language/mixin_illegal_cycles_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/language/mixin_illegal_constructor_test.dart ('k') | tests/language/mixin_illegal_object_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/mixin_illegal_cycles_test.dart
diff --git a/tests/language/mixin_illegal_cycles_test.dart b/tests/language/mixin_illegal_cycles_test.dart
index 472581f8366d358c660925888859ab6d91eaf549..9337fddf8d5eafab6a0cccd6ade3de914b195be4 100644
--- a/tests/language/mixin_illegal_cycles_test.dart
+++ b/tests/language/mixin_illegal_cycles_test.dart
@@ -4,21 +4,21 @@
class M { }
class M0 extends Object with M0 { } /// 01: compile-time error
-typedef M1 = Object with M1; /// 02: compile-time error
+class M1 = Object with M1; /// 02: compile-time error
-typedef M2 = Object with M3; /// 03: compile-time error
-typedef M3 = Object with M2; /// 03: continued
+class M2 = Object with M3; /// 03: compile-time error
+class M3 = Object with M2; /// 03: continued
-typedef M4 = Object with M5; /// 04: compile-time error
-typedef M5 = Object with M6; /// 04: continued
-typedef M6 = Object with M4; /// 04: continued
+class M4 = Object with M5; /// 04: compile-time error
+class M5 = Object with M6; /// 04: continued
+class M6 = Object with M4; /// 04: continued
class M7 extends Object with M8 { } /// 05: compile-time error
class M8 extends Object with M7 { } /// 05: continued
-typedef M9 = Object with M91; /// 06: compile-time error
-typedef M91 = Object with M92; /// 06: continued
-typedef M92 = Object with M91; /// 06: continued
+class M9 = Object with M91; /// 06: compile-time error
+class M91 = Object with M92; /// 06: continued
+class M92 = Object with M91; /// 06: continued
main() {
new M0(); /// 01: continued
« no previous file with comments | « tests/language/mixin_illegal_constructor_test.dart ('k') | tests/language/mixin_illegal_object_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698