mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 08:00:52 +02:00
* Fix AV
This commit is contained in:
parent
4e28962115
commit
92b51febc6
@ -997,8 +997,9 @@ begin
|
||||
begin
|
||||
Result := nil;
|
||||
AppendText(CreateWarning(Parent), '<NIL>');
|
||||
end;
|
||||
if Element.InheritsFrom(TPasUnresolvedTypeRef) then
|
||||
exit;
|
||||
end
|
||||
else if Element.InheritsFrom(TPasUnresolvedTypeRef) then
|
||||
begin
|
||||
s := ResolveLinkID(Element.Name);
|
||||
if Length(s) = 0 then
|
||||
|
Loading…
Reference in New Issue
Block a user