Is this supposed to work: enum foo = ["foo"].map!((string e) => import(e)); When I compile the above code with 2.066.1 I get the following error: main.d(1): Error: variable e cannot be read at compile time main.d(1): Error: file name argument must be a string, not (__error) -- /Jacob Carlborg