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 - Unresolved usage of operator &&
Summary: Unresolved usage of operator &&
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: Sun All
: P4 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
: 148223 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-21 10:44 UTC by nnnnnk
Modified: 2009-03-06 09:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

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