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 136887 - Model do not support bit fields
Summary: Model do not support bit fields
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks: 108501
  Show dependency tree
 
Reported: 2008-06-10 10:34 UTC by Alexander Simon
Modified: 2009-02-19 20:29 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 Alexander Simon 2008-06-10 10:34:00 UTC
Code example
------------------
struct X{
    int
        a : 1,
        b : 1,
        c : 1,
        d : 1;
};
------------------
Struct misses members b,c,d.
No completion hyper link and completion on the members except first.
Comment 1 Alexander Simon 2008-06-10 10:38:24 UTC
Should be fixed for Open Solaris project
Comment 2 Leonid Lenyashin 2008-06-10 15:05:44 UTC
Adjusted priority as per priority guidelines and our agreement.
Comment 3 eskild 2008-10-16 21:38:07 UTC
A variant, I believe:

  int a:1;

Here I get two error messages from the built-in parser:

* unexpected token: a
* Unable to resolve identifier: a

A small UI inconsistency, by the way: "unexpected" begins with a lower-case 'u'; "Unable" with an upper-case.

Let me know if I should file a separate report.
Comment 4 Alexander Pepin 2008-11-19 17:11:56 UTC
customer votes for this issue
Comment 5 Vladimir Voskresensky 2008-11-21 16:51:03 UTC
fixed + test:
http://hg.netbeans.org/main?cmd=changeset;node=a7273ccee292
Comment 6 Quality Engineering 2008-11-23 17:06:39 UTC
Integrated into 'main-golden', will be available in build *200811231401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a7273ccee292
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed IZ#136887: Model do not support bit fields
Comment 7 soldatov 2008-12-01 10:11:12 UTC
Verified (NetBeans IDE Dev (Build 200811301401)).