View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0038160 | FPC | RTL | public | 2020-12-02 17:00 | 2020-12-04 17:24 |
Reporter | Thaddy de Koning | Assigned To | Florian | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | won't fix | ||
Platform | all | OS | all | ||
Product Version | 3.3.1 | ||||
Summary | 0038160: math.sum() has no integer overloads. These are deferred to SumInt instead. | ||||
Description | math.sum() has no integer overloads. These are deferred to math.sumInt() instead. but these can simply be added to sum() overloads, which is more natural. | ||||
Additional Information | I can provide a patch is appreciated but it is a very easy fix. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
FPCOldBugId | |||||
FPCTarget | - | ||||
Attached Files |
|
|
Ah, I checked Delphi and that also has sumint instead. but the same logic applies: it should be part of sum(). Sloppy Embarcadero again |
|
Using different identifiers makes the code much clearer than having the umpteen overload. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-12-02 17:00 | Thaddy de Koning | New Issue | |
2020-12-02 17:15 | Thaddy de Koning | Note Added: 0127320 | |
2020-12-02 21:41 | Thaddy de Koning | Note Edited: 0127320 | View Revisions |
2020-12-04 17:24 | Florian | Assigned To | => Florian |
2020-12-04 17:24 | Florian | Status | new => resolved |
2020-12-04 17:24 | Florian | Resolution | open => won't fix |
2020-12-04 17:24 | Florian | FPCTarget | => - |
2020-12-04 17:24 | Florian | Note Added: 0127345 |