View Issue Details

IDProjectCategoryView StatusLast Update
0034040FPCDocumentationpublic2018-07-28 11:46
ReporterAkira1364Assigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSWindowsOS Version10
Product Version3.1.1Product Build39514 
Target Version3.2.0Fixed in Version3.1.1 
Summary0034040: The programmer's guide states "Overloading of functions is not allowed" in Delphi mode, which is not true.
DescriptionAdditionally, considering that the guide also states the mode "emulates the behavior of Delphi 4 till Delphi 7" (which is also not really true), the part about function overloading should technically never have been in the guide or a feature of {$mode Delphi} to begin with.

Delphi 4 did in fact support overloading functions and procedures, as did Delphi 5, 6, 7, e.t.c...
Steps To ReproduceN/A
Additional InformationN/A
TagsNo tags attached.
Fixed in Revision1498
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2018-07-28 11:46

administrator   ~0109718

This should in fact have been 'overloading is only allowed with the Overload modifier'. In FPC it can be without the 'overload', it is automatic.

I fixed it, thanks for reporting!

Issue History

Date Modified Username Field Change
2018-07-28 07:28 Akira1364 New Issue
2018-07-28 07:28 Akira1364 Status new => assigned
2018-07-28 07:28 Akira1364 Assigned To => Michael Van Canneyt
2018-07-28 11:46 Michael Van Canneyt Fixed in Revision => 1498
2018-07-28 11:46 Michael Van Canneyt Note Added: 0109718
2018-07-28 11:46 Michael Van Canneyt Status assigned => resolved
2018-07-28 11:46 Michael Van Canneyt Fixed in Version => 3.1.1
2018-07-28 11:46 Michael Van Canneyt Resolution open => fixed
2018-07-28 11:46 Michael Van Canneyt Target Version => 3.2.0