[armedbear-ticket] [armedbear] #238: Bad error when reading #S(...) for a partially defined structure

armedbear armedbear-devel at common-lisp.net
Tue Aug 14 02:57:45 UTC 2012


#238: Bad error when reading #S(...) for a partially defined structure
-----------------------+----------------------------------------------------
 Reporter:  sboukarev  |       Owner:  ehuelsmann
     Type:  defect     |      Status:  new       
 Priority:  minor      |   Milestone:            
Component:  compiler   |     Version:            
 Keywords:             |  
-----------------------+----------------------------------------------------
 {{{
 (defstruct struct
   a)

 (defvar *t* #S(struct :a 1))
 }}}

 Running compile-file on it results in "The assertion NIL failed."

 At compile-time defstruct lets the compiler know that the structure
 exists, but the constructor and predicate functions are not defined until
 load time. #S tries to call a stump version of one of these functions.
 After exiting the debugger calling either (make-struct) or (struct-p)
 results in the same assertion failure

-- 
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/238>
armedbear <http://common-lisp.net/project/armedbear>
armedbear


More information about the armedbear-ticket mailing list