improve erroro message for call-with-values

This commit is contained in:
Sunrin SHIMURA (keen) 2015-01-19 18:06:37 +00:00
parent f783640240
commit fd762b8edd
1 changed files with 1 additions and 1 deletions

View File

@ -696,7 +696,7 @@ analyze_call_with_values(analyze_state *state, pic_value obj, bool tailpos)
pic_sym *call;
if (pic_length(pic, obj) != 3) {
pic_errorf(pic, "wrong number of arguments");
pic_errorf(pic, "call-with-values: wrong number of arguments (%d for 2)", pic_length(pic, obj) - 1);
}
if (! tailpos) {