mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 09:28:19 +02:00
* 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:
parent
59720fa55a
commit
4de8f53f03
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user