Re: Bad slot inheritance in ECL

2016-12-27 Thread Faré
I'll count that as probably a bug on my side, due to inheritance via selfward-operation adding unexpected results into the list being deconstructed. My apologies for doubting ECL, and thank you for your patience and support. There remains the other problem, regarding linking. —♯ƒ • François-René

Re: Bad slot inheritance in ECL

2016-12-27 Thread Daniel Kochmański
Faré writes: > > OK, so the failures are all explained now. I'm glad to hear that. > However, though the program compiles as expected, trying to link lots > of .o files instead of a handful of .a files leads to another bug: > (ASDF/ACTION:COMPONENT-DEPENDS-ON :STATIC-PROGRAM-OP :HELLO/CHELLO)

Re: Bad slot inheritance in ECL

2016-12-27 Thread Faré
When I modify my script, I see (SLOT-VALUE (MAKE-INSTANCE 'CFFI-TOOLCHAIN::FOO-OP) 'ASDF/BUNDLE::GATHER-TYPE) => :STATIC-LIBRARY Which looks weird to me: shouldn't the initialize-instance :before method have triggered an error because I did a make-instance outside of make-operation? That sounds

Re: Bad slot inheritance in ECL

2016-12-27 Thread Daniel Kochmański
(slot-value (make-instance 'foo-op) 'gather-type) ;-> :object Works OK for me. I think that the problem is somewhere with your make-operation and gather-type functions indirection magic (I'm not saying its not triggered by some bug in ECL, but it's doesn't look like a problem with allocation). F

Bad slot inheritance in ECL

2016-12-26 Thread Faré
I'm facing an "interesting" bug in ECL: in my branch of cffi at https://github.com/fare/cffi I try to define a static-image-op that has gather-operation 'compile-op and gather-type :object because I want to force all objects to be linked, and using the same 'lib-op and :static-library as image-op c