mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-05 13:46:11 +02:00
* two different specialisations with the same types from different units
still need a type conversion with llvm, as their type identifiers will be different git-svn-id: branches/debug_eh@42097 -
This commit is contained in:
parent
9e9a982bfe
commit
3bee9ab9da
@ -83,7 +83,10 @@ class function tllvmtypeconvnode.target_specific_need_equal_typeconv(fromdef, to
|
|||||||
still need a conversion }
|
still need a conversion }
|
||||||
(
|
(
|
||||||
((fromdef.typ=procvardef) and
|
((fromdef.typ=procvardef) and
|
||||||
(todef.typ=procvardef))
|
(todef.typ=procvardef)) or
|
||||||
|
{ same for two different specialisations }
|
||||||
|
((df_specialization in fromdef.defoptions) and
|
||||||
|
(df_specialization in todef.defoptions))
|
||||||
);
|
);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user