This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 242889

Summary: Incorrect autocomplete templates
Product: cnd Reporter: John_Frost
Component: Code CompletionAssignee: petrk
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot with autocomplete bug

Description John_Frost 2014-03-14 08:14:09 UTC
Created attachment 146015 [details]
Screenshot with autocomplete bug

I created a template class with an array of variables. When the class is instantiated and try to call autocompletion, I get not an array, I Get an array of arrays.
Code:
template <typename T>
class Test
{
public:
    T values[5];
   
};

int main(int argc, char** argv) {
 Test<int> errvar;
 //errvar.values - in this i see array of arrays
 
    return 0;
}