[armedbear-ticket] [armedbear] #231: DEFSTRUCT accessor functions overwrite accessors in :INCLUDEd structs

armedbear armedbear-devel at common-lisp.net
Tue Aug 7 11:54:20 UTC 2012


#231: DEFSTRUCT accessor functions overwrite accessors in :INCLUDEd structs
------------------------+---------------------------------------------------
 Reporter:  ehuelsmann  |       Owner:  mevenson
     Type:  defect      |      Status:  new     
 Priority:  major       |   Milestone:  1.1.0   
Component:  libraries   |     Version:          
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by ehuelsmann):

 My response to Ralf was:

 Thanks for the report. I've been thinking about it and I think the best
 solution is even easier to code: when an included DEFSTRUCT already
 defines the same accessor, we should simply not define it again: the
 result will be that the accessor checks for structs of type 'A and all of
 its subtypes will be allowed.

 I'll log a ticket to that extent and try to come up with the right change
 to defstruct.lisp. However, if you can submit a patch to that extent,
 that'd be most appreciated!

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


More information about the armedbear-ticket mailing list