aBothe/Mono-D — Issue #43: Feature: suggest base type in some cases
Author: jpf91
Created: 2012-02-02 17:02:15+00:00
State: open

Example:

```d
struct UUID
{
enum Version
{
blah,
blub
}

Version uuidVersion;
}
void main()
{
UUID test;
if(test.uuidVersion == /*Code Completion should suggest UUID.Version*/
if(test == /*Code Completion should suggest UUID*/
}
```

I'm not sure about the second suggestion, but in D it's common to check against .init if(blah == Type.init) and often static members are used for special values if(blah == Type.specialStaticType)