mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-24 01:49:17 +02:00
* when two objectdefs resolve to the same "real" objectdef, consider them
as te_exact rather than as te_equal (otherwise you get compilation errors if only a formal external definition is in scope in the interface, but the full definition is in scope in the implementation) git-svn-id: trunk@17201 -
This commit is contained in:
parent
ebb4d26201
commit
5c2050e756
@ -1260,7 +1260,9 @@ implementation
|
||||
find_real_objcclass_definition(tobjectdef(def_to),false)) then
|
||||
begin
|
||||
doconv:=tc_equal;
|
||||
eq:=te_equal;
|
||||
{ exact, not equal, because can change between interface
|
||||
and implementation }
|
||||
eq:=te_exact;
|
||||
end
|
||||
{ object pascal objects }
|
||||
else if (def_from.typ=objectdef) and
|
||||
|
Loading…
Reference in New Issue
Block a user