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 244073 - when user reopens file IDE highlights code as a invalid
Summary: when user reopens file IDE highlights code as a invalid
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-25 12:20 UTC by Alexander Simon
Modified: 2014-06-06 11:56 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 Alexander Simon 2014-04-25 12:20:04 UTC

    
Comment 1 Alexander Simon 2014-04-25 12:21:42 UTC
Scenario:
- Create C/C++ Application with such code:

#include <cstdlib>

using namespace std;

int main(int argc, char** argv) {
    int i = 0;
    return 0;
}

- Modify variable name and press Save button
- Close file
- Open file
- Modify variable name and press Save button
==> "Unable to resolve identifier" sign appears
If I reopen file again, then error doesn't disappear. New changes in file
will not fix error too.
Comment 2 Alexander Simon 2014-04-28 10:40:58 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/85801fa774e9
Comment 3 Quality Engineering 2014-04-29 02:25:50 UTC
Integrated into 'main-silver', will be available in build *201404290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/85801fa774e9
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #244073 when user reopens file IDE highlights code as a invalid
Comment 4 soldatov 2014-06-05 14:26:08 UTC
verified in NetBeans IDE 8.0 patch2 (Build 201406041415)
Comment 5 soldatov 2014-06-06 11:56:25 UTC
verified in NetBeans IDE 8.0 patch2 (Build 201406041415)