mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-02 05:01:11 +02:00
Don't try to export generics.
pkgutil.pas, exportabstractrecorddef: * if it's a generic then leave before iterating the nested types git-svn-id: trunk@33963 -
This commit is contained in:
parent
580cf73e64
commit
fa4690eef8
@ -135,10 +135,10 @@ implementation
|
||||
{ for cross unit type aliases this might happen }
|
||||
if def.owner<>symtable then
|
||||
exit;
|
||||
def.symtable.SymList.ForEachCall(@exportabstractrecordsymproc,def.symtable);
|
||||
{ don't export generics or their nested types }
|
||||
if df_generic in def.defoptions then
|
||||
exit;
|
||||
def.symtable.SymList.ForEachCall(@exportabstractrecordsymproc,def.symtable);
|
||||
if (def.typ=objectdef) and (oo_has_vmt in tobjectdef(def).objectoptions) then
|
||||
begin
|
||||
hp:=texported_item.create;
|
||||
|
Loading…
Reference in New Issue
Block a user