[fpc-devel] type classes

Florian Klaempfl florian at freepascal.org
Sun Oct 21 13:47:49 CEST 2007


Florian Klaempfl schrieb:
> Mattias Gaertner schrieb:
>> Is it possible to use TTranslateStrings = type TStrings?
>> I ask because, the compiler allows it, but stops later with only this
>> message: 
>> lcl/interfaces/gtk2/interfaces.pas(1,1) Fatal: Compilation aborted
>>
>> Question:
>> Is it allowed to use 
>> NewClass = type SomeClass;
>> ?
> 
> In theory yes, in pratice it seems to be buggy :)

Reason is probably http://www.freepascal.org/mantis/view.php?id=8180



More information about the fpc-devel mailing list