Bug 11894 – Union members don't appear in intellisense list

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
visuald
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2014-01-10T07:27:00Z
Last change time
2014-04-12T10:09:58Z
Assigned to
nobody
Creator
turkeyman

Comments

Comment #0 by turkeyman — 2014-01-10T07:27:26Z
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.
Comment #1 by r.sagitario — 2014-03-02T12:54:04Z
I've made a PR for D_Parser: https://github.com/aBothe/D_Parser/pull/99
Comment #2 by r.sagitario — 2014-03-02T13:48:52Z
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
Comment #3 by r.sagitario — 2014-04-12T10:09:58Z