Wrong argument count in error message for methods
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Low
|
Unassigned |
Bug Description
Version: SBCL 1.1.7.114-
uname -a: FreeBSD raven.ravenbroo
Features: (:ALIEN-CALLBACKS :ANSI-CL :ASH-RIGHT-VOPS :BSD :C-STACK-
:COMMON-LISP :COMPARE-
:GENCGC :IEEE-FLOATING-
:MEMORY-
:OS-PROVIDES-
:OS-PROVIDES-POLL :OS-PROVIDES-PUTWC :OS-PROVIDES-
:PACKAGE-
:RESTORE-
:SB-PACKAGE-LOCKS :SB-SOURCE-
:STACK-
:STACK-
:STACK-
The style warning can count to three, the error message cannot.
CL-USER> (progn (defgeneric frob (x))
; in: PROGN (DEFGENERIC FROB
; (X))
; (FROB 1 2 3)
;
; caught STYLE-WARNING:
; The function was called with three arguments, but wants exactly one.
;
; compilation unit finished
; caught 1 STYLE-WARNING condition
invalid number of arguments: 5
#<SB-INT:
Fwiw, if the package of the symbol naming the GF is SB-PCL, the problem does not occur.
CL-USER> (in-package sb-pcl)
#<PACKAGE "SB-PCL">
SB-PCL> (progn (defgeneric frob (x))
; in: PROGN (DEFGENERIC FROB
; (X))
; (SB-PCL::FROB 1 2 3)
;
; caught STYLE-WARNING:
; The function was called with three arguments, but wants exactly one.
;
; compilation unit finished
; caught 1 STYLE-WARNING condition
invalid number of arguments: 3
#<SIMPLE-
SB-PCL>
Changed in sbcl: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: pcl |
Changed in sbcl: | |
assignee: | nobody → Stas Boukarev (stassats) |
Changed in sbcl: | |
assignee: | Stas Boukarev (stassats) → nobody |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
6cc3ff26a1d0c58 ab061edb35fe013 08824253d2