[Issue 11894] New: Union members don't appear in intellisense list

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 10 07:27:30 PST 2014


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 at puremagic.com
        ReportedBy: turkeyman at gmail.com


--- Comment #0 from Manu <turkeyman at 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: -------


More information about the Digitalmars-d-bugs mailing list