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 155054 - False positive error highlighting errors on template specializations
Summary: False positive error highlighting errors on template specializations
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: nnnnnk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-09 17:24 UTC by nnnnnk
Modified: 2009-08-21 06:17 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 nnnnnk 2008-12-09 17:24:01 UTC
There are false positive error highlighting errors on template specializations.
Example:
template<class T> struct B {
};
template<> struct B<int> {
    typedef int type;
};
template<class T> struct A {
    typename B<T>::type t; // type is highlighted as error 
};
int main() {
    A<int> a;
    a.t++;
    return 0;
}
Comment 2 Quality Engineering 2009-08-21 06:17:15 UTC
Integrated into 'main-golden', will be available in build *200908210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/607ce2e14876
User: Nick N. Krasilnikov <nnnnnk@netbeans.org>
Log: fixed IZ#155054 : False positive error highlighting errors on template specializations