| Index: runtime/vm/parser.cc
|
| ===================================================================
|
| --- runtime/vm/parser.cc (revision 32925)
|
| +++ runtime/vm/parser.cc (working copy)
|
| @@ -5347,8 +5347,9 @@
|
| NativeFunction native_function = NativeEntry::ResolveNative(
|
| library, native_name, num_params, &auto_setup_scope);
|
| if (native_function == NULL) {
|
| - ErrorMsg(native_pos, "native function '%s' cannot be found",
|
| - native_name.ToCString());
|
| + ErrorMsg(native_pos,
|
| + "native function '%s' (%" Pd " arguments) cannot be found",
|
| + native_name.ToCString(), func.NumParameters());
|
| }
|
| func.SetIsNativeAutoSetupScope(auto_setup_scope);
|
|
|
|
|