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 150835

Summary: Unresolved usage of operator &&
Product: cnd Reporter: nnnnnk <nnnnnk>
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description nnnnnk 2008-10-21 10:44:54 UTC
Unresolved usage of operator &&.

Example:
class C {
public:
    bool b;
};

C operator&&(const C &o1, const C &o2) {
    C c;
    c.b = o1.b && o2.b;
    return c;
}

int main() {
    C c1, c2;
    bool r = (c1 && c2).b; // b is unresolved
    return 0;
}
Comment 1 Alexey Vladykin 2008-10-21 10:55:42 UTC
*** Issue 148223 has been marked as a duplicate of this issue. ***
Comment 2 nnnnnk 2009-03-03 19:25:55 UTC
Works for me.
But completion appears only if you push Ctrl+Space twice.
Comment 3 Vladimir Voskresensky 2009-03-04 11:18:01 UTC
will fix
Comment 4 Vladimir Voskresensky 2009-03-04 11:46:49 UTC
fixed
http://hg.netbeans.org/main/rev/a89a8a2a0a86
Comment 5 Quality Engineering 2009-03-06 09:28:33 UTC
Integrated into 'main-golden', will be available in build *200903060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a89a8a2a0a86
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed IZ#150835: Unresolved usage of operator &&