Argument count mismatch not noticed in recursive method calls
Bug #1912436 reported by
3b
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
;; same with or without (defgeneric foo (a b))
(defmethod foo (a b)
(foo a))
compiles with no style warnings, expected something like
;
; caught WARNING:
; The function FOO is called with one argument, but wants exactly two.
;
as printed by (defun foo (a b) (declare (ignore b)) (foo a))
tested on
1.5.6.100-93f931e x8664 linux and
2.1.0.51.
Changed in sbcl: | |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.