cat > bug.d << CODE struct S { string s; alias s this; } static assert(!is(S == U[], U)); // shouldn't be true static assert(is(S : U[], U)); CODE dmd -c bug ---- This was the actual cause for issue 15168.
1.d ------ void main() {} ------ try to compile in widows and I get. --> 1.d: Error: module 1 has non-identifier characters in filename, use module declaration instead a1.d ----- void main() {} -------- no errors during compile. dmd 2.069.rc2
Fixed by: https://github.com/dlang/dmd/pull/8839