This is necessary in the next case:
```
import std.stdio;

enum E3 : string
{
    E3a = "foo",
}

void test3()
{
    printf("%.*s\n", E3.E3a.length, E3.E3a.ptr);
}
```
When "E3.E3a" semantics to VarExp of E3 type, this exp haven't a .length property. Anyway, without this check compiler has segfault, when compiling this code.