Argument count mismatch not noticed in recursive method calls

Bug #1912436 reported by 3b
6
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.master.4-0d3e4570b x8664 windows

Tags: pcl
Stas Boukarev (stassats)
Changed in sbcl:
status: New → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.