www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11894] New: Union members don't appear in intellisense list

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11894

           Summary: Union members don't appear in intellisense list
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: VisualD
        AssignedTo: nobody puremagic.com
        ReportedBy: turkeyman gmail.com


--- Comment #0 from Manu <turkeyman gmail.com> 2014-01-10 07:27:26 PST ---
Here's a struct:

struct MIDIEvent
{
    struct Text
    {
        string buffer;
    }
    struct Tempo
    {
        float BPM;
        int microsecondsPerBeat;
    }

    uint tick;
    uint delta;
    uint type;
    uint subType;

    union
    {
        Text text;
        Tempo tempo;
    }
}

The int members like tick/delta/etc all appear in the intellisense list.
The struct members in the union text/tempo do not appear, and refuse to
auto-complete.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 10 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11894


Rainer Schuetze <r.sagitario gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario gmx.de


--- Comment #1 from Rainer Schuetze <r.sagitario gmx.de> 2014-03-02 12:54:04
PST ---
I've made a PR for D_Parser: https://github.com/aBothe/D_Parser/pull/99

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 02 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11894



--- Comment #2 from Rainer Schuetze <r.sagitario gmx.de> 2014-03-02 13:48:52
PST ---
Alex already merged it, here is <the an installer that has the fix:
https://github.com/D-Programming-Language/visuald/releases/tag/v0.3.38rc1

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 02 2014