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 246548 - Cannot reach base class in case of simple variadic recursion
Summary: Cannot reach base class in case of simple variadic recursion
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-19 12:17 UTC by petrk
Modified: 2014-09-19 13:39 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 2014-08-19 12:17:51 UTC
template <typename...Elems>
struct AAA;

template <typename Head, typename...Elems>
struct AAA<Head, Elems...> : AAA<Elems...> {
    typedef int inner;
};

template <>
struct AAA<> {
    typedef int stop;
};

int main() {
    AAA<int, double>::inner var1;
    AAA<int, double>::stop var2; // stop is unresolved
    return 0;
}
Comment 1 Quality Engineering 2014-08-20 02:20:59 UTC
Integrated into 'main-silver', will be available in build *201408200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2a3f6f77d469
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #246548 - Cannot reach base class in case of simple variadic recursion
Comment 2 petrk 2014-09-03 16:16:27 UTC
Fixed in http://hg.netbeans.org/main-silver/rev/2a3f6f77d469
Comment 3 soldatov 2014-09-19 13:39:21 UTC
Verified in NetBeans 8.0.1 patch1

-------------------------------------------------------------------------------
>Log Session: Friday, September 19, 2014 12:00:43 PM MSK
>System Info: 
  Product Version         = NetBeans IDE 8.0.1 (Build 201409182200) (#8819efffa95e)
  Operating System        = SunOS version 5.11 running on amd64
  Java; VM; Vendor        = 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.8.0_05-b13
  Java Home               = /usr/jdk/instances/jdk1.8.0/jre