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 159236 - Wrong recognition of struct instead of namespace
Summary: Wrong recognition of struct instead of namespace
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker with 1 vote (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-26 16:30 UTC by nnnnnk
Modified: 2012-10-30 21:09 UTC (History)
1 user (show)

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 nnnnnk 2009-02-26 16:30:44 UTC
Example:
namespace N {
    struct A {
        int i;
    };
}
void foo() {
    N::A a; // unresolved
}
struct N {
    int i;
};
int main() {
    foo();
    return 0;
}
Comment 1 nnnnnk 2009-03-03 12:25:09 UTC
Less than 20 unresolved ids on Boost 
Comment 2 Alexander Simon 2011-04-27 13:24:45 UTC
escalate because issue has vote
Comment 3 nnnnnk 2011-09-29 14:37:44 UTC
Bad style of coding and needs significant infrastructure changes.
Comment 4 eskild 2011-09-29 14:57:52 UTC
I hope the "bad style of coding" refers to the Netbeans codebase. If not then you're acting as judge of your "customer's" code style, and that's a very un-cool place for a code-centric development tool to be.

It may be that your infrastructure is poor, and that's why it'll simply be "too hard to be worthwhile" -- but then write that instead.
Comment 5 Alexander Simon 2011-09-29 15:48:20 UTC
do not downgrade issue with votes.
Comment 6 Leonid Lenyashin 2012-10-05 18:34:01 UTC
Please evaluate
Comment 7 Leonid Lenyashin 2012-10-30 21:09:40 UTC
There was no activity on this issue for quite a long time. We apologize that the issue was not addressed so far due to lack of development resources. We might not have time in near future to fix this problem, so it is closed as WONTFIX.
If the issue is still critical for you please do not hesitate to REOPEN it.
Thank you for using our product and reporting bugs. We are really sorry that we were not able to fix this issue timely.

Regards,
CND team.