compilation fails with 'no enclosing instance' error

Liam Miller-Cushon cushon at
Thu Feb 27 13:14:35 PST 2014

Got it, thanks for taking the time to explain.

On Thu, Feb 27, 2014 at 12:07 PM, Vicente-Arturo Romero-Zaldivar <
vicente.romero at> wrote:

>  On 27/02/14 17:23, Liam Miller-Cushon wrote:
>   Well hiddenIn() is not used for methods only, also fields are
>> considered.
>  So hiddenIn() should search along the path from the class to the
> member's owner, and at each step search the superinterfaces of the current
> class? I think the only change from the current implementation would be
> terminating the search after reaching the owner.
>  Thanks,
> Liam
> Yes that's the idea of the patch I'm working on and that's why I suggested
> that this was the reason of the problem :) As a side effect we may have
> some performance improvement.
> Vicente
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the compiler-dev mailing list