Nested class constants items raise error
Original Reporter info from Mantis: aurawin
-
Reporter name: Andrew Brunner
Original Reporter info from Mantis: aurawin
- Reporter name: Andrew Brunner
Description:
Nested class constant declarations raise compiler error.
2.5+ FPC have been compiling the attached code for over a year now.
2.7 Did work a while ago ( can't determine when)
2.7 versions won't compile this code.
Steps to reproduce:
compile attached program with 2.6 (compiles OK)
compile attached program with 2.7 (fails)
Additional information:
I have a very large project that depends on nested classes to organize my code within the same unit.
Since adopting this strategy I have found code review and design very nice and neat. So I really wanting to push nested classes etc to perfection for 2.7.
Mantis conversion info:
- Mantis ID: 21941
- OS: Ubuntu
- OS Build: 11.10
- Build: daily trunk
- Platform: x64 Linux
- Version: 2.7.1
- Fixed in version: 3.0.0
- Fixed in revision: 21273 (#62b59235)