(describe 'nil) does not describe the type NIL

Bug #1810785 reported by Michał Herda on 2019-01-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
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) on 2019-01-07
affects: cffi → sbcl
Michał 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  Edit
Everyone can see this information.

Other bug subscribers