https://issues.dlang.org/show_bug.cgi?id=14682
--- Comment #3 from Kenji Hara <[email protected]> --- > For some reason, DMD interprets `~[]` as `~[""]`. Because: auto foo = ["foo"] ~ []; is equivalent to: auto foo = ["foo"] ~ ""; At a concatenation expression, arr ~ elem is preferred than arr ~ arr2 when elem is implicitly convertible to typeof(arr[i]). In the code, the rhs `[]` is implicitly convertible to typeof("foo") == string. --
