xref not collected for initforms of DEFVAR/DEFPARAMETER
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Confirmed
|
Medium
|
Unassigned |
Bug Description
;;; quux.lisp
(defun foo (x) (1+ x))
(defvar *bar* (foo 42))
(defparameter *quux* *bar*)
CL-USER> (load (compile-file "/tmp/quux.lisp"))
; compiling file "/tmp/quux.lisp" (written 07 JAN 2010 11:57:59 PM):
; compiling (DEFUN FOO ...)
; compiling (DEFVAR *BAR* ...)
; compiling (DEFPARAMETER *QUUX* ...)
; /tmp/quux.fasl written
; compilation finished in 0:00:00.005
T
CL-USER> (sb-introspect:
NIL
CL-USER> (sb-introspect:
NIL
This has not only the obvious consequences to inaccuracy of M-? in Slime,
but also the SB-COVER contrib is affected:
It won't show function definitions as having been executed that were only
called once in an DEFVAR or DEFPARAMETER initform.
Changed in sbcl: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in sbcl: | |
assignee: | nobody → David Vázquez (davazp) |
Changed in sbcl: | |
assignee: | David Vázquez (davazp) → nobody |
Possible duplicate: https:/ /bugs.launchpad .net/sbcl/ +bug/1553300