component naming issues
Original Reporter info from Mantis: BeniBela @benibela
-
Reporter name: Benito van der Zander
Original Reporter info from Mantis: BeniBela @benibela
- Reporter name: Benito van der Zander
Description:
You can (accidentally) create a component which has the same name like a global variable or a property of the form.
When the name of the component is then changed, Lazarus replaces all references to the other variable/property in the source with a reference to the component.
(rev: 14465)
Additional information:
Example:
begin caption:='Hi world!'; end;
Making a component called "caption" and renaming it to "somethingelse" changes this to:
begin somethingelse:='Hi world!'; end;
Mantis conversion info:
- Mantis ID: 10978
- Version: 0.9.25 (SVN)
- Target version: 1.4