> string[] funcs = ["tan"]; > calling mixin a compile time has the following error... > > Error 1 Error: variable func cannot be read at compile time > C:\D\SVNProjects\trunk\xcellD\xcell1\trig.d 22 That's because funcs is mutable. Try to make it immutable or enum.