[Openmcl-devel] Bug in OPEN with :element-type '(unsigned-byte 65)

R. Matthew Emerson rme at clozure.com
Mon Oct 31 20:56:17 UTC 2011


On Oct 31, 2011, at 4:45 PM, Eric Marsden wrote:

> (unsigned-byte 65) is a finite recognizable subtype of integer, so I
> believe that this should be allowed. 
> 
> ,----
> | ? (lisp-implementation-version)
> | "Version 1.8-dev-r15052M  (LinuxX8664)"
> | ? (open "/tmp/foo.txt" :direction :output :element-type '(unsigned-byte 65) :if-does-not-exist :create)
> | > Error: Not an ivector subtag: 182
> | > While executing: CCL::SUBTAG-BYTES, in process listener(1).
> | > Type :POP to abort, :R for a list of available restarts.
> | > Type :? for other options.
> | 1 > :b

Thanks.  This is http://trac.clozure.com/ccl/ticket/280.

(I agree that the error message isn't great.)




More information about the Openmcl-devel mailing list