[Issue 18889] New: Hovering over the alias of an enum doesn't show it's value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 21 03:11:30 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18889

          Issue ID: 18889
           Summary: Hovering over the alias of an enum doesn't show it's
                    value
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: visuald
          Assignee: nobody at puremagic.com
          Reporter: turkeyman at gmail.com

-----------------------------
enum ENUMTY : int
{
        Tstruct = 8
}
alias Tstruct = ENUMTY.Tstruct;

void main()
{
        ENUMTY x;
        if (x == Tstruct) // PUT BREAKPOINT HERE
                return;
        return;
}
------------------------------

place a breakpoint at that line... if you hover over Tstruct, it would be
really nice to see the value (ie, 8).

--


More information about the Digitalmars-d-bugs mailing list