On 25 Dec 2011, at 22:06, Sven Barth wrote: > On 25.12.2011 20:53, Jonas Maebe wrote: >> >> On 25 Dec 2011, at 18:23, Sven Barth wrote: >> >>> Ok, I could simply solve this by doing a typecast >>> "JLClass(TTrainTypeActivity)", >> >> That's indeed the proper way. > > Ok, if you say so. Thanks.
The main problem is that the more magic conversions are added to the compiler, the harder things become to maintain (both for the JVM target and for other targets). Jonas_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
