Re: Re: CLOS+defstruct issues

Kenny Tilton <[email protected]>
Newsgroups gmane.lisp.corman
Message-ID <[email protected]>
Roger, do you happen to know if these patches fix this issue reported a 
day earlier?:

> Here is a simpler way to get the bug mentioned yesterday:
> 
> (in-package :cl-user)
> 
> (defstruct (aaa (:conc-name nil))
>    xxx)
> 
> (defstruct (bbb (:include aaa)
>              (:conc-name nil))
>    yyy)
> 
> #+test
> (let ((a (make-aaa :xxx 1)))
>      (setf (xxx a) 2))
> 
> The last form produces:
> 
> ;;; An error occurred in function CHECK-STRUCT-TYPE:
> ;;; Error: The object #S( AAA :XXX 1 ) is not a BBB structure
> ;;; Entering Corman Lisp debug loop.
> ;;; Use :C followed by an option to exit. Type :HELP for help.
> ;;; Restart options:
> ;;; 1   Abort to top level.



-- 

  kenny tilton
  clinisys, inc
  http://www.tilton-technology.com/
  ---------------------------------------------------------------
"Cells let us walk, talk, think, make love and realize
  the bath water is cold." -- Lorraine Lee Cudmore



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/xaxhjB/hdqFAA/xGHJAA/SyjtlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.