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 239901 - Unresolved identifier in type alias template with default type
Summary: Unresolved identifier in type alias template with default type
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-01 19:27 UTC by xui
Modified: 2014-01-10 15: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 xui 2014-01-01 19:27:06 UTC
struct A {
    int a;
};
template<class T = A> using Type = T;
void function(Type<> a) {
    a.a; // WARNING: Unable to resolve identifier a
}
Comment 1 petrk 2014-01-10 15:22:46 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/6c3815c49390