Index: pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart |
diff --git a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart |
index 0e3acaf539e93fd4692da3833e2ab2b24491be9b..8e0d531fe44561a75d98e9e46c6f2a4e8976ed7c 100644 |
--- a/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart |
+++ b/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart |
@@ -768,7 +768,7 @@ String _toString(obj) { |
// TODO(jmesserly): is the argument type verified statically? |
noSuchMethod(obj, Invocation invocation) { |
if (obj == null || JS('bool', 'typeof # == "function"', obj)) { |
- throw new NoSuchMethodError(obj, invocation.memberName, |
+ throwNoSuchMethodError(obj, invocation.memberName, |
invocation.positionalArguments, invocation.namedArguments); |
} |
// Delegate to the (possibly user-defined) method on the object. |