IDE code tools do not recognize inherited subclasses
Original Reporter info from Mantis: HomePlaneR
-
Reporter name:
Original Reporter info from Mantis: HomePlaneR
- Reporter name:
Description:
I have a base class and a sub-class in it (TBaseClass and TBaseSubClass in joined code sample). I add a new class derived from the base one (TCustomClass). I customize as well the sub class (TCustomSubClass). Lazarus IDE refuse to admit the last one derived class: when I do something in its customized method, I get errors "identifier not found: TBaseSubClass" from code tools.
Steps to reproduce:
Open joined .pas file with IDE, go to procedure TCustomClass.TCustomSubClass.DoSomething, hit Ctrl+Space.
Additional information:
http://www.lazarus.freepascal.org/index.php/topic,19821.msg113356/topicseen.html
Blaazen wrote in the topic:
I can reproduce with Laz. 1.1.
Autocomplete probably still cannot handle the nested classes well (but code is compilable).
IMO you should report it and attach this demo.
Mantis conversion info:
- Mantis ID: 23831
- OS: Windows 7
- Platform: x64
- Version: 1.0.6
- Fixed in revision: 40201 (#fc203991)
- Monitored by: » HomePlaneR (HomePlaneR)