Re: [fpc-devel] Default properties

2018-09-10 Thread Ryan Joseph
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

Re: [fpc-devel] Default properties

2018-09-10 Thread Ryan Joseph
> 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).