mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-24 13:31:58 -08:00
Improve some error messages for functions of exactly one variable
This changes "the value of the first argument" to "the value of the only argument" in some type-error error messages for functions accepting exactly one argument.
This commit is contained in:
parent
98969d14ff
commit
2c651a9ecd
5 changed files with 17 additions and 18 deletions
|
|
@ -241,7 +241,7 @@ cl_string(cl_object x)
|
|||
break;
|
||||
}
|
||||
default:
|
||||
FEwrong_type_nth_arg(@[string],1,x,@[string]);
|
||||
FEwrong_type_only_arg(@[string],x,@[string]);
|
||||
}
|
||||
@(return x);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue