On 27-1-2012 17:25, Marco van de Voort wrote:
In our previous episode, Kornel Kisielewicz said:{$apptype console}Type TLIST<T>=class end; type Ta= TLIST<POINTER>; TB= TLIST<POINTER>;
This may very well be a (semantics) bug in Delphi. Did you put this to Embarcadero?IMO a type Ta<..> should never be assignable to a type Tb<..> and reverse when using generics. (unless with operator overloading or similar defined)
I think this may be an unintentional "feature" in Delphi.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel