mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 13:59:28 +02:00
* check hierarchy of the current generic or specialization def independant of whether it's a record- or objectdef
This commit is contained in:
parent
f02fc4fe0f
commit
ec96d4242a
@ -1588,7 +1588,7 @@ uses
|
||||
i : longint;
|
||||
begin
|
||||
result:=nil;
|
||||
while assigned(def) and (def.typ in [recorddef,objectdef]) do
|
||||
while assigned(def) do
|
||||
begin
|
||||
if (df_generic in def.defoptions) and (def=genericdef) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user