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

Unified Diff: runtime/vm/parser.cc

Issue 134893003: Add internal operation that converts a growable list to a fixed list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename native to STaticClass_toFixedLength 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
Index: runtime/vm/parser.cc
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
index 67aaf4763dd4543882d3fb0bc34a7f3465cfbd9b..d1121036d50e44d0c22064997c914b99d6949400 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' cannot be found",
- native_name.ToCString());
+ ErrorMsg(native_pos, "native function '%s' (%d arguments) cannot be found",
+ native_name.ToCString(), func.NumParameters());
}
func.SetIsNativeAutoSetupScope(auto_setup_scope);

Powered by Google App Engine
This is Rietveld 408576698