Hint about local variable being assigned, but not used for record field
Original Reporter info from Mantis: PascalDragon @PascalDragon
-
Reporter name: Sven Barth
Original Reporter info from Mantis: PascalDragon @PascalDragon
- Reporter name: Sven Barth
Description:
If I have a record type and don't explicitly read from a field &LtPos;i>somewhere&LtPos;/i> , but do write to it, then the transpiler will bring the hint "Hint: Local variable "xxx" is assigned but never used".
Steps to reproduce:
Compile attached example.
Mantis conversion info:
- Mantis ID: 38076
- Build: 937
- Version: trunk