mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 04:59:20 +02:00
* Fix 0037544: overload writing refinement
git-svn-id: trunk@46367 -
This commit is contained in:
parent
ff34fb1645
commit
40b59dd3cd
@ -923,7 +923,9 @@ begin
|
||||
// delphi compatible order for example: procedure foo; reintroduce; overload; static;
|
||||
if not IsImpl and AProc.IsReintroduced then
|
||||
Add(' reintroduce;');
|
||||
if AProc.IsOverload and (Not FInImplementation) then
|
||||
// if NamePrefix is not empty, we're writing a dummy for external class methods.
|
||||
// In that case, we must not write the 'overload'.
|
||||
if AProc.IsOverload and (NamePrefix='') then
|
||||
Add(' overload;');
|
||||
if not IsImpl then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user