--------- module a; struct foo {} deprecated alias bar = foo; ---------- module b; struct bar {}; ----------- module c; import a; import b; void baz(bar b) {} Error: `a.bar` at source/a.d(5,1) conflicts with `b.bar` at .b.d(2,1) I would have thought the undeprecated alias would have been used.