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 - Incorrect autocomplete templates
Summary: Incorrect autocomplete templates
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.0
Hardware: PC Windows 7 x64
: P3 normal with 1 vote (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-14 08:14 UTC by John_Frost
Modified: 2014-03-14 12:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot with autocomplete bug (5.93 KB, image/png)
2014-03-14 08:14 UTC, John_Frost
Details

Note You need to log in before you can comment on or make changes to this 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;
}