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 timemain.d(1): Error: file name argument must be a string, not (__error)
I think this is not supposed to work. try staticMap maybe ?