* Fix bug id #37513 : type helper declaration incomplete

git-svn-id: trunk@46320 -
This commit is contained in:
michael 2020-08-08 09:12:37 +00:00
parent a78d5ba112
commit b68c68b48b

View File

@ -633,6 +633,14 @@ begin
okRecordHelper: Add('record helper');
okClassHelper: Add('class helper');
end;
if (AClass.ObjKind in [okTypeHelper,okRecordHelper,okClassHelper]) then
begin
if not Assigned(AClass.HelperForType) then
Add(' for unknowntype')
else
Add(' for '+AClass.HelperForType.SafeName)
end;
if AClass.IsForward then
exit;
if (AClass.ObjKind=okClass) and (ACLass.ExternalName<>'') and NotOption(woNoExternalClass) then