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 240446 - Wrong priority of local variable.
Summary: Wrong priority of local variable.
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-14 10:26 UTC by petrk
Modified: 2014-01-16 02:44 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 petrk 2014-01-14 10:26:06 UTC
struct Raw {
    Raw operator()();
    
    bool non_null();
};

struct Class {
    void clazz();
     
    void foo() {
        Raw clazz;
        clazz().non_null(); // non_null is unresolved
    }
};
Comment 1 petrk 2014-01-14 19:04:29 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/492080b20918
Comment 2 Quality Engineering 2014-01-16 02:44:19 UTC
Integrated into 'main-silver', will be available in build *201401160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/492080b20918
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #240446 - Wrong priority of local variable.