[Issue 13790] New: Spellchecker doesn't work for enum members

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Nov 28 15:41:09 PST 2014


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

          Issue ID: 13790
           Summary: Spellchecker doesn't work for enum members
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: diagnostic
          Severity: minor
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: yebblies at gmail.com

enum Enum
{
    member
}

void main()
{
    auto x = Enum.memberx;
}

Prints:

testx.d(9): Error: no property 'memberx' for type 'int'

But it would be much nicer to tell you about the nearly-matching member. 
Fixing this will most likely fix the reported type as well.

--


More information about the Digitalmars-d-bugs mailing list