You've already forked lazarus-ccr
Break in case of cycle in the object inheritance ( which should not happen )
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1010 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -3018,7 +3018,7 @@ begin
|
|||||||
clssTyp := TPasClassType(elt);
|
clssTyp := TPasClassType(elt);
|
||||||
if ( gnrClssLst.IndexOf(clssTyp) = -1 ) then begin
|
if ( gnrClssLst.IndexOf(clssTyp) = -1 ) then begin
|
||||||
objLst.Clear();
|
objLst.Clear();
|
||||||
while Assigned(clssTyp) do begin
|
while Assigned(clssTyp) and ( objLst.IndexOf(clssTyp) = -1 ) do begin
|
||||||
objLst.Add(clssTyp);
|
objLst.Add(clssTyp);
|
||||||
classAncestor := clssTyp.AncestorType;
|
classAncestor := clssTyp.AncestorType;
|
||||||
if Assigned(classAncestor) and classAncestor.InheritsFrom(TPasUnresolvedTypeRef) then begin
|
if Assigned(classAncestor) and classAncestor.InheritsFrom(TPasUnresolvedTypeRef) then begin
|
||||||
|
Reference in New Issue
Block a user