mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 04:09:11 +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;
|
break;
|
||||||
if srsymtable.symtabletype in [localsymtable,staticsymtable,globalsymtable] then
|
if srsymtable.symtabletype in [localsymtable,staticsymtable,globalsymtable] then
|
||||||
begin
|
begin
|
||||||
srsym:=tprocsym(srsymtable.FindWithHash(hashedid));
|
srsym:=tsym(srsymtable.FindWithHash(hashedid));
|
||||||
if assigned(srsym) and
|
if assigned(srsym) and
|
||||||
(srsym.typ=procsym) then
|
(srsym.typ=procsym) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user