* prevent exception when the compiler is compiled with -CR and we find a

non-procsym during overload resolving

git-svn-id: trunk@18161 -
This commit is contained in:
Jonas Maebe 2011-08-10 15:41:00 +00:00
parent 59720fa55a
commit 4de8f53f03

View File

@ -1933,7 +1933,7 @@ implementation
break;
if srsymtable.symtabletype in [localsymtable,staticsymtable,globalsymtable] then
begin
srsym:=tprocsym(srsymtable.FindWithHash(hashedid));
srsym:=tsym(srsymtable.FindWithHash(hashedid));
if assigned(srsym) and
(srsym.typ=procsym) then
begin