void main(){ int[2][] foo = [[1,1]]; // ok int[2][] bar = foo ~ [[1,1]]; // compile error } In the first case the compiler automatically figures out how to type the array literal. The second line should compile too.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18382 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB