Hi,I discovered this while playing with DGUI's treeview module. Here is a program that generates exactly the same error that looks weird to me:
module a; import std.stdio;
alias void* pvoid; enum E : pvoid { a=cast(pvoid)-1, b=cast(pvoid)-2, } void foo(E e=E.a) { writeln("Hello from foo"); } void main() { foo(); } a.d(11): Error: no property 'a' for type 'void' I see no "void" there, except that foo has a return type of void.