Steel Bank Common Lisp

wanted: compiler should know about implicitly created generic functions

Reported by Tobias C. Rittweiler on 2010-01-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Wishlist
Unassigned

Bug Description

Compiling the following

  (defmethod gf3 (x y)
     (* x y))
  (defun bar3 (z)
     (gf3 z))

results in an "Undefined function: GF3" style-warning.

It does not seem to be required that DEFMETHOD makes the name of an
implicitly created gf seen at compilation time. Still it would be nice if it did.

Changed in sbcl:
status: New → Confirmed
importance: Undecided → Wishlist
summary: - Implicitly created generic function is not seen at compile-time.
+ wanted: compiler should know about implicitly created generic functions
tags: added: compiler pcl
Stas Boukarev (stassats) wrote :

In 5728601f88c400d2992b6b8c70d8971d07de9029.

Changed in sbcl:
status: Confirmed → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers