November 28, 2014 [Issue 13790] New: Spellchecker doesn't work for enum members | ||||
---|---|---|---|---|
| ||||
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@puremagic.com Reporter: yebblies@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. -- |
Copyright © 1999-2021 by the D Language Foundation