duplicate identifier is allowed
Original Reporter info from Mantis: ag888
-
Reporter name: Andrey Gusev
Original Reporter info from Mantis: ag888
- Reporter name: Andrey Gusev
Description:
I run to that (accidentally):
--- the lazarus datamodule declaration fragment, TVDM1 class [...] PE_FR: TfrReport; //&LtPos;< first JU_FR: TfrReport; WB_FR: TfrReport; EW_FR: TfrReport; FE_FR: TfrReport; PE_FR: TfrReport; //&LtPos;< the duplicate !!! [...] --- that was succesfully compiled (!!!) and run, but in runtime PE_FR have nil value (without duplicate PE_FR have right usable value).
I cannot model it on short sample - be tried, give (rightly) compilation error.
I cannot also give full module, but, cutted implementation, is attached.
The compiler error is obvious, i mean.
Mantis conversion info:
- Mantis ID: 10457
- Version: 2.3.1
- Fixed in version: 2.2.2
- Fixed in revision: 9840 (#34ff7931)
- Monitored by: » Alex_Lutovinin (Alex_Lutovinin)