[codetools] "Find declaration" or "Complete code" inside nested type (specialized nested generic type).
Original Reporter info from Mantis: Cyrax
-
Reporter name:
Original Reporter info from Mantis: Cyrax
- Reporter name:
Description:
Doing "Find delcaration" or "Complete code" inside nested type (specialized nested generic type) causes codetools to repot this error: &LtPos;code>project1.lpr(25,41) Error: expected ), but TGenericTest found&LtPos;/code>.
See attached project for example test, Steps To Reproduce and Additional Information for more info.
Steps to reproduce:
- Open attached project in Lazarus.
- Go to line 25, column 58 and execute either "Find declaration" or "Complete code" command.
- Observe the error message.
Additional information:
FPC and Lazarus was built with these commands:
Lazarus revision 51428 FPC revision 33009 FPC make commands: clean all install OPT=-gw2 -godwarfsets -godwarfmethodclassprefix -gl -O- -Xs- -Si- -vbq -dTEST_WIN32_SEH COMPILER_OPTIONS=-gw2 -godwarfsets -godwarfmethodclassprefix -gl -O- -Xs- -Si- -vbq -dTEST_WIN32_SEH OS_TARGET=win32 CPU_TARGET=i386 REVSTR=33009 UPXPROG=echo IDE=1 NOWPOCYCLE=1 INSTALL_PREFIX=j:\free_pascal_and_lazarus_new4\fpc\i386\win32\binary\3.1.1\fpc_trunk\trunk Lazarus make commands: clean all OPT=-gw2 -godwarfsets -godwarfmethodclassprefix -gl -gh -O- -Si- -vb -dHEAPTRC_WINDOW -dDBG_WITH_DEBUGGER_DEBUG UPXPROG=echo USESVN2REVISIONINC=0
Mantis conversion info:
- Mantis ID: 29532
- OS: Server 2008 R2
- OS Build: 6.1.7601 (SP1)
- Build: r51428
- Platform: Windows
- Version: 1.5 (SVN)
- Monitored by: » Artem3213212 (Artem3213212)