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 234640 - parser fails on decltype
Summary: parser fails on decltype
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.4
Hardware: PC Solaris
: P2 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-20 12:40 UTC by soldatov
Modified: 2013-08-20 13:35 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 soldatov 2013-08-20 12:40:00 UTC
Scenario:
- Create empty C++ project
- Set C++11 in "C++ Standard" field (Project Properties window)
- Add such code into project:

struct Y {
    
};

struct X : public decltype(Y) {
    
};

===> empty navigator, unresolved identifier and NPE in messages.log
Comment 1 petrk 2013-08-20 13:35:08 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/cfa0f438bbe6