mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 20:29:14 +02:00
* don't export types that have been merely renamed (and thus are part of another unit and potentially another package altogether)
git-svn-id: trunk@34340 -
This commit is contained in:
parent
1c696b0e77
commit
f1cdb5c4e9
@ -168,7 +168,10 @@ implementation
|
|||||||
|
|
||||||
procedure export_typedef(def:tdef;symtable:tsymtable;global:boolean);
|
procedure export_typedef(def:tdef;symtable:tsymtable;global:boolean);
|
||||||
begin
|
begin
|
||||||
if not (global or is_class(def)) or (df_internal in def.defoptions) then
|
if not (global or is_class(def)) or
|
||||||
|
(df_internal in def.defoptions) or
|
||||||
|
{ happens with type renaming declarations ("abc = xyz") }
|
||||||
|
(def.owner<>symtable) then
|
||||||
exit;
|
exit;
|
||||||
if ds_rtti_table_written in def.defstates then
|
if ds_rtti_table_written in def.defstates then
|
||||||
exportname(def.rtti_mangledname(fullrtti));
|
exportname(def.rtti_mangledname(fullrtti));
|
||||||
|
Loading…
Reference in New Issue
Block a user