mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-12 20:31:55 -08:00
Reorder format arguments correctly in FEtype_error_index().
This commit is contained in:
parent
90e836add4
commit
f45e15f967
2 changed files with 4 additions and 2 deletions
|
|
@ -48,7 +48,9 @@ ECL 0.9g
|
|||
- The random number generator assumed 32-bit integers.
|
||||
|
||||
- ext:run-program looks into *standard-input/output* and *error-output* for handle
|
||||
duplicatio also under Win32.
|
||||
duplication also under Win32.
|
||||
|
||||
- FEtype_error_index() had format arguments in wrong order (M. Goffioul).
|
||||
|
||||
* ANSI compatibility:
|
||||
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ FEtype_error_index(cl_object seq, cl_object ndx)
|
|||
{
|
||||
cl_error(9, @'simple-type-error', @':format-control',
|
||||
make_constant_string("~S is not a valid index into the object ~S"),
|
||||
@':format-arguments', cl_list(2, seq, ndx),
|
||||
@':format-arguments', cl_list(2, ndx, seq),
|
||||
@':expected-type', cl_list(3, @'integer', MAKE_FIXNUM(0), MAKE_FIXNUM(length(seq)-1)),
|
||||
@':datum', ndx);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue