mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-03 03:50:57 +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 }
|
{ for cross unit type aliases this might happen }
|
||||||
if def.owner<>symtable then
|
if def.owner<>symtable then
|
||||||
exit;
|
exit;
|
||||||
def.symtable.SymList.ForEachCall(@exportabstractrecordsymproc,def.symtable);
|
|
||||||
{ don't export generics or their nested types }
|
{ don't export generics or their nested types }
|
||||||
if df_generic in def.defoptions then
|
if df_generic in def.defoptions then
|
||||||
exit;
|
exit;
|
||||||
|
def.symtable.SymList.ForEachCall(@exportabstractrecordsymproc,def.symtable);
|
||||||
if (def.typ=objectdef) and (oo_has_vmt in tobjectdef(def).objectoptions) then
|
if (def.typ=objectdef) and (oo_has_vmt in tobjectdef(def).objectoptions) then
|
||||||
begin
|
begin
|
||||||
hp:=texported_item.create;
|
hp:=texported_item.create;
|
||||||
|
Loading…
Reference in New Issue
Block a user