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.
Summary: | [73cat] Unexpected token const. | ||
---|---|---|---|
Product: | cnd | Reporter: | kosmonaffft |
Component: | Code Model | Assignee: | nnnnnk <nnnnnk> |
Status: | CLOSED DUPLICATE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Other | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Unexpected const.
Invalid code AST. |
Also i've found this bug on 7.2 release version (project and source code is same). Hello, Is it present if you comment destructor? Hello. Yes, I've just checked, it is present with commented destructor. (In reply to comment #2) > Hello, > > Is it present if you comment destructor? Created attachment 125204 [details]
Invalid code AST.
Looks like NB try to parse methods as fields.
Please, try -J-Dcnd.language.flavor.cpp11=true If it would help, then it's a problem in project setup. *** This bug has been marked as a duplicate of bug 217052 *** |
Created attachment 124225 [details] Unexpected const. Unexpected token const. See attachment. Version from mercurial, 737c21309850