[fpc-devel] How to force the child's constructor to call its	parent	constructor
    amir 
    amir at aavani.net
       
    Mon Oct 22 10:39:07 CEST 2007
    
    
  
It is a run-time error but what I am looking for is an compile-time 
error. It is not sensible(for me) to raise an exception because of bad 
implementation. Thanks for you idea ;)
Amir
Michael Schnell wrote:
> Couldn't you check the ID in your after construction event and throw 
> an exception if it's not set ?
>
> -Michael
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
    
    
More information about the fpc-devel
mailing list