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

Unified Diff: tests/language/duplicate_implements_test.dart

Issue 11434089: Update or delete language tests using obsolete interfaces or default factory (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years 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/default_interface1_negative_test.dart ('k') | tests/language/dynamic_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/duplicate_implements_test.dart
===================================================================
--- tests/language/duplicate_implements_test.dart (revision 15648)
+++ tests/language/duplicate_implements_test.dart (working copy)
@@ -4,15 +4,15 @@
// Check that duplicate types in implements/extends list are
// compile-time errors.
-interface I { }
-interface J { }
-interface K<T> { }
+abstract class I { }
+abstract class J { }
+abstract class K<T> { }
class X implements I, J, I { } /// 01: compile-time error
class X implements J, I, K<int>, K<int> { } /// 02: compile-time error
-interface Z extends I, J, J { } /// 03: compile-time error
-interface Z extends K<int>, K<int> { } /// 04: compile-time error
+abstract class Z implements I, J, J { } /// 03: compile-time error
+abstract class Z implements K<int>, K<int> { } /// 04: compile-time error
main() {
return null;
« no previous file with comments | « tests/language/default_interface1_negative_test.dart ('k') | tests/language/dynamic_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698