* correctly handle "class fields" in record definitions

git-svn-id: branches/jvmbackend@18610 -
This commit is contained in:
Jonas Maebe 2011-08-20 08:14:55 +00:00
parent 52b62732e2
commit 9a6ab55c97

View File

@ -793,7 +793,7 @@ implementation
{ static field definition -> get original field definition for
visibility }
if (sym.typ=staticvarsym) and
(sym.owner.symtabletype=objectsymtable) then
(sym.owner.symtabletype in [objectsymtable,recordsymtable]) then
begin
vissym:=tabstractvarsym(
tabstractrecorddef(sym.owner.defowner).symtable.find(