0.8.0.24:
[sbcl.git] / src / code / alien-type.lisp
index 41a6e84..86b7121 100644 (file)
 ;;; others (toplevel form time instead of cold load init time) because
 ;;; ALIEN-VALUE itself is a structure which isn't defined until fairly
 ;;; late.
-;;;
-;;; FIXME: I'm somewhat tempted to just punt ALIEN from the type system.
-;;; It's sufficiently unlike the others that it's a bit of a pain, and
-;;; it doesn't seem to be put to any good use either in type inference or
-;;; in type declarations.
 (!define-superclasses alien ((alien-value)) progn)
 
 (!define-type-method (alien :simple-=) (type1 type2)
@@ -65,7 +60,7 @@
   (if alien-type
       (let ((lisp-rep-type (compute-lisp-rep-type alien-type)))
        (if lisp-rep-type
-           (specifier-type lisp-rep-type)
+           (single-value-specifier-type lisp-rep-type)
            (%make-alien-type-type alien-type)))
       *universal-type*))