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 243815 - Unstable "Unable to resolve forward declaration" sign
Summary: Unstable "Unable to resolve forward declaration" sign
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-14 12:19 UTC by soldatov
Modified: 2014-04-24 02:14 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 soldatov 2014-04-14 12:19:42 UTC
My C++ project contains such file:

namespace AA {
    class BB;
}

int main() {
    return 0;
}

Scenario:
- start IDE with fresh user directory
- open project
- Add '2' after BB
- Save file
==> "Unable to resolve forward declaration BB2" sign appears
- Type any comment at 1st line
- Save file
- Delete comment
- Save file
==> sign disappears
- Reopen file
==> sign doesn't exist
Comment 2 Quality Engineering 2014-04-18 02:40:31 UTC
Integrated into 'main-silver', will be available in build *201404180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b7a46de6976b
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #243815 Unstable "Unable to resolve forward declaration" sign
- do not parse file twice on "Reparse Project" action
Comment 3 soldatov 2014-04-22 09:27:13 UTC
verified in trunk build 201404220001
Comment 4 Quality Engineering 2014-04-24 02:14:41 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/6e09b482f444
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #243815 Unstable "Unable to resolve forward declaration" sign
- do not parse file twice on "Reparse Project" action
(transplanted from b7a46de6976bde7086ca756276d72a9b3ad3d6c3)