[armedbear-devel] [armedbear] #83: problem with error reporting on undefined class during make instance
Erik Huelsmann
ehuels at gmail.com
Mon Oct 4 22:10:01 UTC 2010
Hi Mahmud,
On Mon, Oct 4, 2010 at 10:55 PM, Mahmud Mohamed <bigthingist at gmail.com> wrote:
> On 10/4/2010 8:53 AM, armedbear wrote:
>> mmohamed, thanks for the patch, unfortunately, it completely disables the
>> possibility (supported by CLHS) to forward-reference classes like this:
>>
> Understood. I will rework it later tonight.
Well, I've researched the protocol for FINALIZE-INHERITANCE in the
AMOP docs: you can't have an uninitialized class after returning from
it.
This probably means that your original change was right. However, that
probably also means that the (early) call to std-finalize-inheritance
in std-after-initialization (or whatever it is called) is incorrect:
you can't try to resolve a class until you're trying to instantiate it
the first time.
Bye,
Erik.
More information about the armedbear-devel
mailing list