View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0038572 | FPC | Compiler | public | 2021-03-02 15:27 | 2021-03-02 15:27 |
Reporter | Mattias Gaertner | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 3.3.1 | ||||
Summary | 0038572: Wrong hint variable not used when passing to an untyped parameter | ||||
Description | fpc 3.3.1 reports a wrong hint (fpc 3.2.0 does not), when passing a variable to an untyped parameter: project1.lpr(10,3) Note: Local variable "c" is assigned but never used | ||||
Steps To Reproduce | program project1; procedure Eat(const buf); begin end; procedure Fly; var c: char; begin c:=#0; Eat(c); end; begin Fly; end. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
FPCOldBugId | |||||
FPCTarget | |||||
Attached Files |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-03-02 15:27 | Mattias Gaertner | New Issue |