[fpc-devel] FPC-JVM: Breaking up a cycle
Sven Barth
pascaldragon at googlemail.com
Sat Aug 27 00:16:33 CEST 2011
Hello together and especially Jonas!
I have now ported most of the contents of the android namespace to
Pascal. First I tried to put the subnamespaces into their own units, but
that started to result in some nasty circles that involved parent
classes and what not... now I have simply put the complete android
namespace into one unit and at first I had quite a few order problems to
solve, but now I have managed to get down to four errors and those are
related to each other and are part of a circle problem.
The situation:
There is a class AVView, a class AVViewGroup and an interface
AVViewManager. AVViewGroup extends AVView and implements AVViewGroup.
Also it defines a nested class InnerLayoutParam.
So far all is ok, but now the problematic part:
AVView and AViewManager both contain a parameter and/or result value of
type AVViewGroup.InnerLayoutParam.
Is there a way to solve this quite nasty circle?
Regards,
Sven
More information about the fpc-devel
mailing list