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

Unified Diff: tests/utils/dummy_compiler_test.dart

Issue 152593002: Version 1.2.0-dev.3.1 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 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
Index: tests/utils/dummy_compiler_test.dart
===================================================================
--- tests/utils/dummy_compiler_test.dart (revision 32236)
+++ tests/utils/dummy_compiler_test.dart (working copy)
@@ -54,24 +54,25 @@
operator==(other) {}
get hashCode => throw 'Interceptor.hashCode not implemented.';
}
-class JSIndexable {
- get length {}
+abstract class JSIndexable {
+ get length;
}
-class JSMutableIndexable {}
-class JSArray<E> implements JSIndexable {
+abstract class JSMutableIndexable {}
+abstract class JSArray<E> implements JSIndexable {
JSArray() {}
factory JSArray.typed(a) => a;
var removeLast;
var add;
}
-class JSMutableArray extends JSArray {}
-class JSFixedArray extends JSMutableArray {}
-class JSExtendableArray extends JSMutableArray {}
+abstract class JSMutableArray extends JSArray {}
+abstract class JSFixedArray extends JSMutableArray {}
+abstract class JSExtendableArray extends JSMutableArray {}
class JSString implements JSIndexable {
var split;
var concat;
operator+(other) {}
var toString;
+ get length => 0;
}
class JSFunction {}
class JSInt {}
« no previous file with comments | « tests/language/override_inheritance_no_such_method_test.dart ('k') | tests/utils/recursive_import_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698