Chromium Code Reviews| Index: lib/compiler/implementation/lib/js_helper.dart |
| diff --git a/lib/compiler/implementation/lib/js_helper.dart b/lib/compiler/implementation/lib/js_helper.dart |
| index e5476d45799af63c012c1651b46f318d88efaabe..a6dcb6c3f606fe0e235e326d9c2bce221c8b456b 100644 |
| --- a/lib/compiler/implementation/lib/js_helper.dart |
| +++ b/lib/compiler/implementation/lib/js_helper.dart |
| @@ -1375,8 +1375,8 @@ void assertHelper(condition) { |
| * Called by generated code when a method that must be statically |
| * resolved cannot be found. |
| */ |
| -void throwNoSuchMethod(obj, name, arguments) { |
| - throw new NoSuchMethodError(obj, name, arguments); |
| +void throwNoSuchMethod(obj, name, arguments, [expectedArgumentNames]) { |
|
ahe
2012/10/25 13:34:04
Could you avoid making the argument optional?
|
| + throw new NoSuchMethodError(obj, name, arguments, expectedArgumentNames); |
| } |
| /** |