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

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

Issue 14404004: Throw NoSuchMethod or ArgumentError instead of generating a bailout, when we know the next instruct… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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
Index: tests/compiler/dart2js/mock_compiler.dart
===================================================================
--- tests/compiler/dart2js/mock_compiler.dart (revision 21860)
+++ tests/compiler/dart2js/mock_compiler.dart (working copy)
@@ -77,7 +77,7 @@
bool operator==(other) => identical(this, other);
noSuchMethod(im) { throw im; }
}
- class JSIndexable {}
+ abstract class JSIndexable {}
class JSArray extends Interceptor implements List, JSIndexable {
var length;
operator[](index) {}
« no previous file with comments | « tests/compiler/dart2js/dead_bailout_target_test.dart ('k') | tests/compiler/dart2js/type_inference_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698