Wrong file name in error message
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
prog.pas(4,14) Error: Wrong number of parameters specified
prog.pas(5,11) Hint: Found declaration: foo
Compiler shows that it found a different declaration of foo. But a file name shown is wrong: foo() is declared in the unit, not in the program. Line number is ok.
Additional information:
Reporter: Wiktor Sywula
EMail: wswiktor at poczta dot fm
Mantis conversion info:
- Mantis ID: 4778
- OS: All
- Version: 1.1.0
- Fixed in version: 2.2.0
- Fixed in revision: 5097 (#2974bbaf)