mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 06:39:38 +02:00
* Added support for interface delegation (Implements)
git-svn-id: trunk@11678 -
This commit is contained in:
parent
53deaee379
commit
e4b4875bb0
@ -2891,6 +2891,12 @@ var
|
||||
AppendKw(CodeEl, ' default');
|
||||
AppendSym(CodeEl, ';');
|
||||
end;
|
||||
if (TPasProperty(Member).ImplementsName<>'') then
|
||||
begin
|
||||
AppendKw(CodeEl, ' implements');
|
||||
AppendText(CodeEl, ' '+TPasProperty(Member).ImplementsName);
|
||||
AppendSym(CodeEl, ';');
|
||||
end;
|
||||
SetLength(s, 0);
|
||||
if Length(TPasProperty(Member).ReadAccessorName) > 0 then
|
||||
s := s + 'r';
|
||||
|
Loading…
Reference in New Issue
Block a user