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

Unified Diff: tests/utils/recursive_import_test.dart

Issue 14253008: Optimize length access on all JSIndexable things. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix test. Created 7 years, 8 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/utils/dummy_compiler_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/utils/recursive_import_test.dart
diff --git a/tests/utils/recursive_import_test.dart b/tests/utils/recursive_import_test.dart
index b6e95f301a4c9b7dca2173295cbfe2fd7dd63185..a9351c133e8f1dfa535f1a08026dd93c14d54ff8 100644
--- a/tests/utils/recursive_import_test.dart
+++ b/tests/utils/recursive_import_test.dart
@@ -36,13 +36,14 @@ class JSInvocationMirror {} // Should be in helper.
const INTERCEPTORS_LIB = """
library interceptors;
+class JSIndexable {
+ get length;
+}
class JSArray {
- get length => null;
removeLast() => null;
add(x) { }
}
class JSString {
- get length => null;
split(x) => null;
concat(x) => null;
toString() => null;
« no previous file with comments | « tests/utils/dummy_compiler_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698