https://issues.dlang.org/show_bug.cgi?id=14038 --- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> --- (In reply to Kenji Hara from comment #1) More close to the original: static immutable ubyte[string] wordsAA; static this() { wordsAA["zero"] = 0; } void main() {} --