SUBTYPEP sometimes does not error on invalid type specifiers

Bug #1950025 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
New
Undecided
Unassigned

Bug Description

(found by Roger Corman)

(subtypep 1 1) ==> T, T

(subtypep (1+ most-positive-fixnum) (1+ most-positive-fixnum)) ==> T, T

(subtypep 0 1) ==> error

(the second case there shows this is happening even when the two args are not EQ but are EQL, which is weird because for valid type specifiers EQ and EQL should be the same.)

description: updated
Revision history for this message
Douglas Katzman (dougk) wrote :

I think this is by design.
From from http://www.lispworks.com/documentation/HyperSpec/Issues/iss335_w.htm
 "This version eliminates the requirement to signal an error."

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.