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

Unified Diff: tests/utils/dummy_compiler_test.dart

Issue 15724021: Move array and string related HType from const to a field in the backend. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/type_combination_test.dart ('k') | tests/utils/recursive_import_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/utils/dummy_compiler_test.dart
===================================================================
--- tests/utils/dummy_compiler_test.dart (revision 23841)
+++ tests/utils/dummy_compiler_test.dart (working copy)
@@ -49,14 +49,14 @@
get length;
}
class JSMutableIndexable {}
- class JSArray {
+ class JSArray implements JSIndexable {
var removeLast;
var add;
}
- class JSMutableArray {}
+ class JSMutableArray extends JSArray {}
class JSFixedArray extends JSMutableArray {}
class JSExtendableArray extends JSMutableArray {}
- class JSString {
+ class JSString implements JSIndexable {
var split;
var concat;
var toString;
« no previous file with comments | « tests/compiler/dart2js/type_combination_test.dart ('k') | tests/utils/recursive_import_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698