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

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

Issue 11412148: Fix handling of sends with wrong arity (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address Karl's comments 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
« no previous file with comments | « tests/compiler/dart2js/cpa_inference_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index 4abd3e33b37292537ad96839161fef6391df0de2..8fa90308df909de2a22b9d5a827d0dd82a0af7b2 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -45,7 +45,8 @@ const String DEFAULT_HELPERLIB = r'''
abstract class JavaScriptIndexingBehavior {}
class JSInvocationMirror {}
S() {}
- assertHelper(a){}''';
+ assertHelper(a){}
+ throwNoSuchMethod(obj, name, arguments, expectedArgumentNames) {}''';
const String DEFAULT_INTERCEPTORSLIB = r'''
class JSArray {
« no previous file with comments | « tests/compiler/dart2js/cpa_inference_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698