Bug 65272

Summary: struct member completion not working in some cases
Product: [Applications] kdevelop Reporter: Jay <joerg>
Component: Code completionAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.0.0a6   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jay 2003-09-30 23:02:53 UTC
Version:           3.0.0a6 (using KDE 3.1.92 (alpha2, CVS >= 20030921), Gentoo)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)
OS:          Linux (i686) release 2.4.20-gentoo-r6

Hi,

the following cases don't show members for structs:

- a struct defined locally inside a function and used there

- a struct that is defined globally normally works
  struct test {
    int a, b;
  };

but not on arrays of them like:

test t[10];
t[2].   <- no completion

hope that is enough information, and again thanks for the codecompletion roberto ;)
regards
j
Comment 1 Jens Dagerbo 2006-12-29 10:31:06 UTC
Verified on current 3.4 branch.
Comment 2 Jens Dagerbo 2006-12-30 15:36:31 UTC
... and less than a day later fixed by zwabel in 3.4 branch. :)