[codetools] Codetools doesn't recognize generic procedure inside a normal class, thus normal codetools functions will fail.
Original Reporter info from Mantis: Cyrax
-
Reporter name:
Original Reporter info from Mantis: Cyrax
- Reporter name:
Description:
Like summary says, "Find declaration of &LtPos;x>" and "Complete code" will fail with error message:
Codetools, Errors: 1 project1.lpr(17,15) Error: expected :, but procedure found
See attached test project and build info files for more info.
Steps to reproduce:
- Open attached project in Lazarus.
- Execute "Find declaration of &LtPos;x>" or "Complete code" anywhere in the code.
- Observe the error message in the message window.
Mantis conversion info:
- Mantis ID: 30349
- Assignee Gitlab user: @PascalRiekenberg
- Assignee Mantis username: PascalR
- Assignee name: Pascal Riekenberg
- OS: Server 2008 R2
- OS Build: 6.1.7601 (SP1)
- Build: r52640
- Platform: Windows
- Version: 1.7 (SVN)
- Monitored by: » Dmytro Remeniak (Dmytro Remeniak)