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

Unified Diff: tests/compiler/dart2js/mock_compiler.dart

Issue 11412105: - Move length getter and setter interceptors to the new interceptor scheme. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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/compiler/dart2js/mock_compiler.dart
===================================================================
--- tests/compiler/dart2js/mock_compiler.dart (revision 15190)
+++ tests/compiler/dart2js/mock_compiler.dart (working copy)
@@ -48,13 +48,13 @@
assertHelper(a){}''';
const String DEFAULT_INTERCEPTORSLIB = r'''
- add$1(receiver, value) {}
- get$length(receiver) {}
- filter(receiver, predicate) {}
- removeLast(receiver) {}
- iterator(receiver) {}
- next(receiver) {}
- hasNext(receiver) {}''';
+ class JSArray {
+ var length;
+ }
+ class JSString {
+ var length;
+ }
+ getInterceptor(x) {}''';
const String DEFAULT_CORELIB = r'''
print(var obj) {}

Powered by Google App Engine
This is Rietveld 408576698