CodeTools: Wrong types for fpc Intrinsics
Original Reporter info from Mantis: Warfley
-
Reporter name: Frederic
Original Reporter info from Mantis: Warfley
- Reporter name: Frederic
Description:
The functions SetLength, Length and Copy (and certainly a lot more) are using type SizeInt for Sizes. In the Lazarus Code-Completion it still states Integer.
I think this is because these functions are hardcoded in TIdentCompletionTool.GatherPredefinedIdentifiers (components/codetools/identcompletiontool.pas), so they could use an update to use the correct types, which are already in the documentation (like https://www.freepascal.org/docs-html/rtl/system/copy.html)
Mantis conversion info:
- Mantis ID: 36961
- Assignee Gitlab user: @PascalRiekenberg
- Assignee Mantis username: PascalR
- Assignee name: Pascal Riekenberg
- Version: 2.0.6
- Fixed in revision: 63799 (#7fefade3)