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 216617

Summary: Unresolved identifier when indexing struct array with postfixed struct member
Product: cnd Reporter: LAndrew
Component: Code ModelAssignee: petrk
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description LAndrew 2012-08-09 15:27:37 UTC
struct foo
{
    int a;
    int b;
};

void test()
{
    foo bar;
    foo buffer[3];

    buffer[bar.a].b = 0;       //OK
    buffer[++bar.a].b = 0;     //also OK
    buffer[bar.a++].b = 0;     //unable to resolve 'b'
}