diff --git a/compiler/agjasmin.pas b/compiler/agjasmin.pas index fc1e96c182..b8f2620761 100644 --- a/compiler/agjasmin.pas +++ b/compiler/agjasmin.pas @@ -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(