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

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: Make top-level patch file native. Add comment. 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 | « runtime/vm/dart_api_impl_test.cc ('k') | sdk/lib/_internal/lib/internal_patch.dart » ('j') | 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 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());
Lasse Reichstein Nielsen 2014/02/11 07:10:13 I added this while debugging, but kept it because
}
func.SetIsNativeAutoSetupScope(auto_setup_scope);
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | sdk/lib/_internal/lib/internal_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698