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 241278 - Error indication remains after correction and recompilation
Summary: Error indication remains after correction and recompilation
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-01 21:51 UTC by aschwarz1309
Modified: 2014-11-21 13:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (46.23 KB, text/plain)
2014-02-01 21:51 UTC, aschwarz1309
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aschwarz1309 2014-02-01 21:51:27 UTC
Product Version = NetBeans IDE 7.4 (Build 201310111528)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_40
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.0-b56

Win7
gcc 4.8.2 (cygwin)

The error is not critical only annoying.

After removing a value from an enum, recompiling and correcting errors, then recompiling without error, Netbeans retains the error indication and error messages for the missing enum value.

For example:
 o o o
enum xyz { A = 1, B - 2 };

 o o o

if  (xyz::A) then o o o

and changing to:

 o o o 

enum xyz { B = 2 };

 o o o

if  (xyz::A) then o o o   // will be in error. Correcting to:

if (xyz::B) then o o o  // the error indication remains although the compilation is successful.
Comment 1 aschwarz1309 2014-02-01 21:51:31 UTC
Created attachment 144684 [details]
IDE log
Comment 2 Vladimir Voskresensky 2014-11-21 13:50:15 UTC
works fine in trunk