(describe 'nil) does not describe the type NIL

Bug #1810785 reported by Michał "phoe" Herda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
New
Undecided
Unassigned

Bug Description

CL-USER> (describe 'nil)
COMMON-LISP:NIL
  [null]

NIL names a constant variable:
  Value: NIL
; No value
CL-USER>

The type NIL (http://clhs.lisp.se/Body/t_nil.htm) is not described via #'DESCRIBE.

Digging a bit deeper, it seems that (sb-impl::info :type :expander 'nil) returns NIL, which prevents type information from being printed inside SB-IMPL::DESCRIBE-TYPE.

Luís Oliveira (luismbo)
affects: cffi → sbcl
Revision history for this message
Michał "phoe" Herda (phoe-krk) wrote :

Have I really made this ticket on CFFI and not SBCL? Oh good gods, now that's embarassing...

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.