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 - decltype in initializer slightly breaks code model
Summary: decltype in initializer slightly breaks code model
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-24 13:21 UTC by petrk
Modified: 2015-09-25 01:47 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-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