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 244834 - bug in parsing enum identifier (with ternary operator, less operator and namespace)
Summary: bug in parsing enum identifier (with ternary operator, less operator and name...
Status: RESOLVED DUPLICATE of bug 257031
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-01 13:18 UTC by Yankes
Modified: 2015-12-14 11:52 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 Yankes 2014-06-01 13:18:24 UTC
Removing something fix it.
--->%--->%--->%---

enum A {A1};

namespace B
{
	int func() { return 1; }
}

int main()
{
	B::func() < 2 ? A1 : 1; //error: unresolved identifier A1 
}

--->%--->%--->%---
Comment 1 petrk 2015-12-14 11:52:10 UTC

*** This bug has been marked as a duplicate of bug 257031 ***