https://issues.dlang.org/show_bug.cgi?id=16123

--- Comment #9 from Nick Treleaven <n...@geany.org> ---
>   S s;
>   alias y = s.x; // note, this compiles just fine, you need to use it to flag 
> the error.

This is an error in the next edition:
https://dlang.org/spec/legacy#alias-instance-member

https://github.com/dlang/dmd/pull/15863

--

Reply via email to