public const in records are not working
Original Reporter info from Mantis: Chuck
-
Reporter name: Chuck Norris
Original Reporter info from Mantis: Chuck
- Reporter name: Chuck Norris
Description:
If a record contains a public constant the transpiler claims "Symbol cannot be published".
Steps to reproduce:
Create the following project and try to compile it:
{code}
program Project1;
type
TMyRecord = record
public const
cMyConst = 42;
end;
begin
end.
{code}
Additional information:
I attached the project.
Mantis conversion info:
- Mantis ID: 38683
- Build: 2.0.4
- Fixed in revision: 49081.