* fixed (harmless) class cast error

git-svn-id: trunk@21260 -
This commit is contained in:
Jonas Maebe 2012-05-08 20:02:18 +00:00
parent 41d86f2b26
commit 95b8b95c9c

View File

@ -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