mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 13:59:29 +02:00
* import the class con-/destructor symbol into the *current* unit not into the unit the symbol comes from
git-svn-id: trunk@34251 -
This commit is contained in:
parent
aa1be3276f
commit
6b7f55cc77
@ -865,7 +865,7 @@ implementation
|
||||
begin
|
||||
unitinits.emit_procdef_const(pd);
|
||||
if u<>current_module then
|
||||
u.addimportedsym(pd.procsym);
|
||||
current_module.addimportedsym(pd.procsym);
|
||||
end
|
||||
else
|
||||
unitinits.emit_tai(Tai_const.Create_nil_codeptr,voidcodepointertype);
|
||||
@ -874,7 +874,7 @@ implementation
|
||||
begin
|
||||
unitinits.emit_procdef_const(pd);
|
||||
if u<>current_module then
|
||||
u.addimportedsym(pd.procsym);
|
||||
current_module.addimportedsym(pd.procsym);
|
||||
end
|
||||
else
|
||||
unitinits.emit_tai(Tai_const.Create_nil_codeptr,voidcodepointertype);
|
||||
|
Loading…
Reference in New Issue
Block a user