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 239778 - Having a method named final in a class when using c++11 produces unexpected token error highlighting.
Summary: Having a method named final in a class when using c++11 produces unexpected t...
Status: RESOLVED DUPLICATE of bug 225045
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-25 06:51 UTC by JessicaW
Modified: 2014-04-18 12:04 UTC (History)
1 user (show)

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 JessicaW 2013-12-25 06:51:23 UTC
I have a class that is required to have a method named final which the editor is apparently treating as though it were the keyword final added in c++11. The code itself compiles fine so I can only assume it's a bug.

Code to reproduce:

class ReproduceBug {
public:
    void final();
};

void ReproduceBug::final()
{
}
Comment 1 petrk 2014-04-18 12:04:11 UTC

*** This bug has been marked as a duplicate of bug 225045 ***