a.d: ----------------- module a; mixin template A(T) { struct A { T t; } } struct X { int a; } ----------------- b.d: ----------------- module b; import a: A; import a: A; mixin A!int; import a: X; import a: X; X x; ----------------- running `dmd -o- a.d b.d`: b.d(4): Error: mixin b.A!int A isn't a template b.d(7): Error: alias b.X conflicts with alias b.X at b.d(6) I would expect the error for `A` will be the same error I get on `X`
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19322 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB