On Friday, May 11, 2018 14:02:22 Nicholas Wilson via Digitalmars-d-learn
wrote:
> -
> 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`
-
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