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: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Manu <[email protected]> 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: -------

Reply via email to