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 255545

Summary: decltype in initializer slightly breaks code model
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-24 13:21:35 UTC
template <int T1, int T2 = decltype(T1){1}>
struct A {
int foo();
};

int main() {
return 0;
}
Comment 1 petrk 2015-09-24 13:31:27 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/008626dcd1e6
Comment 2 Quality Engineering 2015-09-25 01:47:01 UTC
Integrated into 'main-silver', will be available in build *201509250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/008626dcd1e6
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #255545 - decltype in initializer slightly breaks code model