On 13.01.20 23:43, Rainer Schuetze wrote: > I think it's a bug in the compiler. If you can assign an enum value, why > should the value itself not be good enough aswell? Related: https://issues.dlang.org/show_bug.cgi?id=12288