Imprecise unions of array types

Bug #309098 reported by Nikodemus Siivola
2
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Medium
Douglas Katzman

Bug Description

(subtypep
     'array
     `(or
       ,@(loop for x across sb-vm:*specialized-array-element-type-properties*
               collect `(array ,(sb-vm:saetp-specifier x)))))
    => NIL, T (when it should be T, T)

The reason that this is a bug is that the set of all specialized array types forms an exhaustive partition of the type ARRAY, thus the union of all specialized array types /is/ ARRAY.

Tags: types
Changed in sbcl:
importance: Undecided → Medium
status: New → Confirmed
description: updated
Revision history for this message
Douglas Katzman (dougk) wrote :

Fixed over a year ago, and there's even a test.

Changed in sbcl:
assignee: nobody → Douglas Katzman (dougk)
status: Confirmed → Fix Released
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.