Bug#46684: code completion reacts on dot operator for pointer to struct

andrew_skiba at mail.ru andrew_skiba at mail.ru
Tue Aug 20 16:19:02 UTC 2002

Package: kdevelop
Version: 2.1 (using KDE 3.0.0 )
Severity: normal
Installed from:    
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
OS:                Linux (i686) release 2.4.19
OS/Compiler notes: 

struct foo
	int bar;

foo *p;

after typing "p." the code completion pops up suggesting bar - this is wrong - the code completion should react only on "p->". 
Namely, I wanted to see class members and mistyped "this." instead of "this->", but the code completion behaves on both the same way.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)

(Complete bug history is available at http://bugs.kde.org/db/46/46684.html)

More information about the KDevelop-devel mailing list