bug#70142: [PATCH] Fix error messages containing format strings
Ludovic Courtès <[email protected]>
| Newsgroups | gmane.lisp.guile.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi Michael, Michael Käppler <[email protected]> skribis: > The reason is that format strings occurring in the message are > escaped, see `module/ice-9/boot-9.scm` and > `module/language/tree-il/primitives.scm`. > > So a call of > > `(error "Wrong argument: ~a" 42)` > > is rendered as > > "Wrong argument: ~a 42" > Some callers did not take this behavior into account. Good catch, applied. Thanks! Ludo’.