mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 18:29:18 +02:00
* patch from Sven equal to r31911 backported to 3.0.x
git-svn-id: branches/fixes_3_0@33856 -
This commit is contained in:
parent
5addbae947
commit
80d45f6b2d
@ -982,14 +982,16 @@ implementation
|
||||
for i:=0 to st.DefList.Count-1 do
|
||||
begin
|
||||
def:=tdef(st.DefList[i]);
|
||||
{ skip generics and generic constraints }
|
||||
if [df_generic,df_genconstraint]*def.defoptions<>[] then
|
||||
continue;
|
||||
case def.typ of
|
||||
recorddef :
|
||||
do_write_persistent_type_info(trecorddef(def).symtable,is_global);
|
||||
objectdef :
|
||||
begin
|
||||
{ Skip generics and forward defs }
|
||||
if ([df_generic,df_genconstraint]*def.defoptions<>[]) or
|
||||
(oo_is_forward in tobjectdef(def).objectoptions) then
|
||||
{ Skip forward defs }
|
||||
if (oo_is_forward in tobjectdef(def).objectoptions) then
|
||||
continue;
|
||||
do_write_persistent_type_info(tobjectdef(def).symtable,is_global);
|
||||
{ Write also VMT if not done yet }
|
||||
|
Loading…
Reference in New Issue
Block a user