> On Jul 10, 2020, at 12:31 PM, Sven Barth <[email protected]> wrote:
>
> A lookup is only necessary if you use e.g. "SomeClass as SomeIntf".
so if I do:
DoSomething(c as IFoo);
then Supports() is called at runtime to return the IFoo interface? That's the
kind of thing I was really curious about, when are runtime checks performed vs
compile time checks.
Regards,
Ryan Joseph
_______________________________________________
fpc-pascal maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal