Chromium Code Reviews| Index: tests/compiler/dart2js/mock_compiler.dart |
| =================================================================== |
| --- tests/compiler/dart2js/mock_compiler.dart (revision 24128) |
| +++ tests/compiler/dart2js/mock_compiler.dart (working copy) |
| @@ -92,7 +92,7 @@ |
| abstract class JSMutableIndexable extends JSIndexable {} |
| class JSArray extends Interceptor implements List, JSIndexable { |
| var length; |
| - operator[](index) {} |
| + operator[](index) => this[index]; |
| operator[]=(index, value) {} |
| var add; |
| } |