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) {} |