[fpc-devel] Overloading methods of a parent class

Florian Klaempfl florian at freepascal.org
Wed Feb 9 10:47:52 CET 2011


Am 09.02.2011 10:43, schrieb Sven Barth:
> The latter question can be understand as: Does the compiler search the
> correct symtable (in this case that for TClass1) when it parses the
> factor "c.Test" 

Yes.

> or does it resolve that already when parsing the
> definition of TClass2?

No.

> 
> I'll continue searching the correct spot nevertheless.

The class tcallcandidates in htypechk.pas does basically the work.



More information about the fpc-devel mailing list