[fpc-devel] Type definition

Micha Nelissen micha at neli.hopto.org
Sat Mar 4 23:49:03 CET 2006


On Sat, 4 Mar 2006 12:57:41 -0500
Paul Davidson <pdavidson at coraxnetworks.com> wrote:

> unit cUnit
> interface
> 	uses bUnit;
> 	type
> 		cObj = class( bObj )
> implementation
> 	aVar := at_Last;   <----------- ERROR!
> 
> The implementation of cUnit requires a USE aUnit; in order to compile 
> since at_last is no longer visible.

This wouldn't be solved by nested types AFAICS ?

Micha



More information about the fpc-devel mailing list