[fpc-devel] Circular references and forward declarations
Marco van de Voort
marcov at stack.nl
Tue Jan 5 17:52:47 CET 2010
In our previous episode, Jonas Maebe said:
> There might be other solutions (maybe some kind of class-specific
> namespace support), but it would definitely require some more language
> features rather than merely accepting anonymous class definitions
> anywhere. Otherwise the type checking is going to run completely
It would also change how the compiler finds files. In Java the namespace can
be distilled from the classpath hierarchies, in FPC there is no such helper.
The compiler only gets some dirs and main .dpr and must be able to derive
how to compile all units in the correct order.
More information about the fpc-devel