RE: [abc-users] InternalCompilerError: Could not find a matching <init>

From: Oege de Moor <Oege.de.Moor@comlab.ox.ac.uk>
Date: Sat May 14 2005 - 14:38:36 BST

Default constructors are handled in addmembers (through ClassDecl_c),
but perhaps it's easier to diagnose if you try this first:

a) compile the generated aspect code by presenting it as source to abc

b) print out the ast just before jimplification

c) also look at abc -dava

Now compare the three versions: generated, straight-through-from-source
and decompiled. This should tell us exactly what's going wrong.

-O

On Sat, 14 May 2005, Eric Bodden wrote:

>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Oege de Moor wrote:
> > That's not so strange... restructure looks for such super calls
> > (because the itd field inits must come after it).
> >
> > Normally these super calls are put in by the front-end, so we can
> > rely on them being there. It's strange that they're not put in
> > here. Are you using a modified front-end, or the standard abc
> > distribution?
>
> I am using a modified version which does some code generation. (so
> the constructor code is generated code)
> What pass normally inserts the explicit super calls?
>
> Eric
>
> - --
> Eric Bodden
> Chair I2 for Programming Languages and Program Analysis
> RWTH Aachen University
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 8.0.3
>
> iQA/AwUBQoX5K8wiFCm7RlWCEQJbwgCghxx55W2uSpq72/y3NcPd6p13aAoAn2Ar
> dg2d743Qo4h9rBZbRoU+HCji
> =dF6S
> -----END PGP SIGNATURE-----
>
>
>
Received on Sat May 14 14:38:38 2005

This archive was generated by hypermail 2.1.8 : Sat May 14 2005 - 17:40:04 BST