[armedbear-ticket] [armedbear] #300: Gray streams aren't streams

armedbear armedbear-devel at common-lisp.net
Mon Mar 4 09:24:15 UTC 2013


#300: Gray streams aren't streams
-----------------------+----------------------------------------------------
 Reporter:  rschlatte  |       Owner:  mevenson 
     Type:  defect     |      Status:  new      
 Priority:  major      |   Milestone:  1.2.0    
Component:  streams    |     Version:  1.2.0-dev
 Keywords:  streams    |  
-----------------------+----------------------------------------------------

Comment(by mevenson):

 Observed that the behavior changes once a GRAY-STREAM instance has been
 created:

 {{{
 CL-USER> (require :gray-streams)
 ; Loading
 jar:file:/home/evenson/work/abcl/dist/abcl.jar!/org/armedbear/lisp/gray-
 streams.abcl ...
 ; Loaded
 jar:file:/home/evenson/work/abcl/dist/abcl.jar!/org/armedbear/lisp/gray-
 streams.abcl (0.396 seconds)
 ("GRAY-STREAMS")
 CL-USER> (subtypep 'gray-streams:fundamental-stream 'stream)
 NIL
 T
 CL-USER> (make-instance 'gray-streams:fundamental-stream)
 #<GRAY-STREAMS:FUNDAMENTAL-STREAM {3FF6929C}>
 CL-USER> (subtypep 'gray-streams:fundamental-stream 'stream)
 T
 T
 }}}

 maybe this exposes a problem with CLOS?

-- 
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/300#comment:2>
armedbear <http://common-lisp.net/project/armedbear>
armedbear


More information about the armedbear-ticket mailing list