One more question. With the syntax:
wrapper + 1
I get to the point where I have 2 nodes parsed. p2 is an ordconst node (the
value “1") and p1 is a load node (wrapper, which is a record). I need to check
the resultdef for p1 to see if the + operator is overloaded so I can determine
if the base
> On Sep 7, 2018, at 6:27 PM, Sven Barth via fpc-devel
> wrote:
>
> tcallcandidates in htypechk.pas is your friend. That is the *only* class that
> deals with overload resolution and collects the eligible overloads from
> various sources (e.g. loaded units, current type, helper types).