Illegal qualifier for type initialization by const in type/record helper
Original Reporter info from Mantis: hnb
-
Reporter name: Maciej Izak
Original Reporter info from Mantis: hnb
- Reporter name: Maciej Izak
Description:
Illegal qualifier for type initialization by const in type/record helper:
---program---
program r11;
{$MODE DELPHI}
type
TValueInt32Helper = record helper for Int32
const
C: Int32 = 0;
end;
var
I: Int32 = Int32.C; // Error: Illegal qualifier
begin
end.
Mantis conversion info:
- Mantis ID: 25606
- Build: 26466
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 29176 (#9611c3df)