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 200115

Summary: Unresolved ids on ternary operator
Product: cnd Reporter: nnnnnk <nnnnnk>
Component: Code ModelAssignee: nnnnnk <nnnnnk>
Status: VERIFIED FIXED    
Severity: normal CC: mmirilovic
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description nnnnnk 2011-07-13 15:57:31 UTC
Sample:
typedef struct a {
	struct c *i, *j;
} aa;
typedef struct b {
	union d *k,*l;
} bb;
int main(int argc, char** argv) {   
    long long z;
    aa *x;
    bb *y;
    &((z + 1) & z ? x : (aa *)y->k)->i;
    return 0;
}
Comment 2 dnikitin 2011-08-10 12:04:27 UTC
verified in NetBeans IDE Dev (Build cnd-build-trunk-279-on-20110810)
Comment 3 Alexander Simon 2011-08-15 10:09:16 UTC
fix transplanted on release701_fixes on elif
dca369462484 transplanted to 5017db42458f
Comment 4 dnikitin 2011-08-18 12:33:37 UTC
Verified in NetBeans IDE 7.0.1 (Build oss-platform-build-22-on-20110818)
Comment 5 Alexander Simon 2011-08-24 11:34:24 UTC
integrated in release701_fixes:
5017db42458f transplanted to 73b48d59c66e
Comment 6 soldatov 2011-08-29 10:28:38 UTC
verified