alien pointer types and nil

Bug #727661 reported by Nikodemus Siivola
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Triaged
Wishlist
Unassigned

Bug Description

This is wrong:

  (typep nil '(alien (* t))) => nil

especially given that the type translators accept NIL just fine -- translating it to NULL.

Secondly, it would be very convenient to be able to define an alien pointer type that excludes NIL / NULL. See bug 721087 for the special case of C-STRINGs.

Tags: alien
tags: added: alien
Revision history for this message
Douglas Katzman (dougk) wrote :

of theoretical interest at best. decreasing important to "wishlist"

Changed in sbcl:
importance: Medium → Wishlist
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.