I am not sure, but perhaps both functions should compile: immutable(string)[] foo() pure { char[][] a; return a; // OK } string[] bar() pure { char[][] b; return b; // Error } void main() {} DMD 2.066alpha gives: test.d(7,12): Error: cannot implicitly convert expression (b) of type char[][] to string[]
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17662 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB