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

Unified Diff: runtime/vm/parser.cc

Issue 175083003: Doesn't work as written when int != intptr_t. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.cc
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
index d1121036d50e44d0c22064997c914b99d6949400..67aaf4763dd4543882d3fb0bc34a7f3465cfbd9b 100644
--- a/runtime/vm/parser.cc
+++ b/runtime/vm/parser.cc
@@ -5347,8 +5347,8 @@ void Parser::ParseNativeFunctionBlock(const ParamList* params,
NativeFunction native_function = NativeEntry::ResolveNative(
library, native_name, num_params, &auto_setup_scope);
if (native_function == NULL) {
- ErrorMsg(native_pos, "native function '%s' (%d arguments) cannot be found",
- native_name.ToCString(), func.NumParameters());
+ ErrorMsg(native_pos, "native function '%s' cannot be found",
+ native_name.ToCString());
}
func.SetIsNativeAutoSetupScope(auto_setup_scope);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698