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 255064

Summary: Forward strongly typed enum hides its definition
Product: cnd Reporter: petrk
Component: Code ModelAssignee: petrk
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description petrk 2015-09-07 15:53:41 UTC
enum class ABC : int {
  VALUE
};

enum class ABC : int;

int main() {
  return ABC::VALUE; // value is unresolved
}
Comment 1 petrk 2015-09-08 13:46:37 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/2309be163b77
Comment 2 Quality Engineering 2015-09-09 01:22:16 UTC
Integrated into 'main-silver', will be available in build *201509090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2309be163b77
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #255064 - Forward strongly typed enum hides its definition