On Mon, 3 Dec 2012, Martin wrote:

having a
 procedure Foo(var x: TSomeClass);

calling it with

 Foo(TSomeClass(ObjOfBaseClassOfTSomeClass));

It compiles with 2.6.0.

Just want to be sure, it wont stop in future versions.

It should not stop.

Michael.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to