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 240123 - Outer definitions of explicit template specializations of functions ruin whole model in a file
Summary: Outer definitions of explicit template specializations of functions ruin whol...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-08 15:23 UTC by petrk
Modified: 2014-01-08 16:21 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-01-08 15:23:40 UTC
template <typename T1>
struct XXX {    
    template <typename T2>
    struct BBB {
        int foo();
    };
};


template <> template <>
int XXX<int>::BBB<double>::foo() {
    int x;
    return x;
}  

// All identifiers are red
Comment 1 petrk 2014-01-08 16:21:19 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/ab507e05130d