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 - Forward strongly typed enum hides its definition
Summary: Forward strongly typed enum hides its definition
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-07 15:53 UTC by petrk
Modified: 2015-09-09 01:22 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 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