mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 11:19:16 +02:00
codetools: prevent AV for incomplete generic types
git-svn-id: trunk@51138 -
This commit is contained in:
parent
41e85d83a6
commit
d8163c8187
@ -7032,6 +7032,8 @@ begin
|
||||
end else if Node.Desc<>ctnTypeDefinition then
|
||||
exit;
|
||||
Node:=Node.FirstChild;
|
||||
if Node=nil then
|
||||
Exit;
|
||||
Identifier:=@Src[Node.StartPos];
|
||||
if (Node=nil)
|
||||
or (not (Node.Desc in AllClasses))
|
||||
|
Loading…
Reference in New Issue
Block a user