DESCRIBE on a generic function symbol gives a not-useful source file
Bug #1761247 reported by
Paul F. Dietz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When I compile and load this file
;-*- Mode: Lisp -*-
(in-package :cl-user)
(defgeneric foo (x) (:documentation "Example generic function"))
(defmethod foo ((x integer)) :bar)
and then execute (describe 'foo), I get this:
COMMON-
[symbol]
FOO names a generic function:
Lambda-list: (X)
Derived type: (FUNCTION (T) *)
Documentation:
Example generic function
Method-
Methods:
(FOO (INTEGER))
Source file: SYS:SRC;
The source file line is not useful. Instead, it should give the source file of the defgeneric form (if one was provided.)
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
3ba5f3fb532898c 81324ed7ab7c874 11a6bc369a