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 210983 - regression in inaccuracy tests (dbx projectl): forward declarations
Summary: regression in inaccuracy tests (dbx projectl): forward declarations
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.2
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords: RANDOM, REGRESSION
Depends on: 201258
Blocks:
  Show dependency tree
 
Reported: 2012-04-11 05:36 UTC by Alexander Simon
Modified: 2012-04-13 09:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test case (46.00 KB, application/x-tar)
2012-04-11 06:50 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2012-04-11 05:36:06 UTC

    
Comment 1 Alexander Simon 2012-04-11 06:50:05 UTC
Created attachment 118102 [details]
Test case

1. extract project
2. open project in IDE
3. wait parsing finishing
4. open file var.cpp
5. add space and save file
6. open file exec.c
7. see unresolved ID
Comment 2 Alexander Simon 2012-04-11 06:52:53 UTC
Random because IDE behavior depend on order of parsing and indexing.
Comment 3 Vladimir Voskresensky 2012-04-13 08:49:44 UTC
fix
http://hg.netbeans.org/cnd-main/rev/961d89907a42
http://hg.netbeans.org/cnd-main/rev/960e9130275b

added dynamic test which failed before and passes now:
http://hg.netbeans.org/releases/rev/f86211822d79
Comment 4 Vladimir Voskresensky 2012-04-13 08:50:45 UTC
there was one more commit for this:
http://hg.netbeans.org/releases/rev/453fe622b25d
Comment 5 Quality Engineering 2012-04-13 09:51:34 UTC
Integrated into 'main-golden', will be available in build *201204130400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/961d89907a42
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #210983 - regression in inaccuracy tests (dbx projectl): forward declarations
- when variable is declared with "struct structName" type, it is forward class for enclosing namespace and not for enclosing classifier