mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-04 23:10:33 +01:00
* fixed (harmless) class cast error
git-svn-id: trunk@21260 -
This commit is contained in:
parent
41d86f2b26
commit
95b8b95c9c
@ -1997,7 +1997,7 @@ implementation
|
||||
end;
|
||||
end;
|
||||
{ now search in the type itself }
|
||||
srsym:=tprocsym(structdef.symtable.FindWithHash(hashedid));
|
||||
srsym:=tsym(structdef.symtable.FindWithHash(hashedid));
|
||||
if assigned(srsym) and
|
||||
{ Delphi allows hiding a property by a procedure with the same name }
|
||||
(srsym.typ=procsym) then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user