I have found a few problems (they are all related but some symptoms even cause the codetools to produce errors when attempting to autocomplete, also refactor/rename will not reliably work as a result of this. I have put together a program that declares a lot of stuff in the type section to be able to demonstrate all kinds of possible combinations of direct and auto-dereferenced method calls of records and record helpers.
Attached is a demo program with comments inside that explain the problems. When I have some more time I will also file a bug (I think one bug should be enough, although the problem shows itself with multiple different symptoms?)
Bernd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HelperSyntax.lpr
Type: application/octet-stream
Size: 2510 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120628/fd58380b/attachment.obj>
