wanted: unused SYMBOL-MACROLET warning

Bug #716762 reported by William Halliburton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Triaged
Wishlist
Unassigned

Bug Description

Code like

(defun foo ()
 (let ((x 'baz))
   ))

issues a "The variable X is defined but never used."

while

(defun foo ()
  (symbol-macrolet ((x 'baz))
    ))

and similarly

(defun foo (a)
  (with-slots (x) a
    ))

are silent.

Revision history for this message
Nikodemus Siivola (nikodemus) wrote :

A style-warning, yes.

Changed in sbcl:
importance: Undecided → Low
status: New → Triaged
importance: Low → Wishlist
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.