D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 13790 - Spellchecker doesn't work for enum members
Summary: Spellchecker doesn't work for enum members
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 minor
Assignee: No Owner
URL:
Keywords: diagnostic
Depends on:
Blocks:
 
Reported: 2014-11-28 23:41 UTC by yebblies
Modified: 2020-03-21 03:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description yebblies 2014-11-28 23:41:09 UTC
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.