Bug 13790 – Spellchecker doesn't work for enum members

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-11-28T23:41:09Z
Last change time
2020-03-21T03:56:39Z
Keywords
diagnostic
Assigned to
No Owner
Creator
yebblies

Comments

Comment #0 by yebblies — 2014-11-28T23:41:09Z
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.