[Issue 21176] deprecation inside template should show the instance loc as errorSupplemental

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Sep 18 09:36:23 UTC 2020


RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
I cannot reproduce this issue on run.dlang.io. However, I get what you mean:

deprecated int a;

void foo(T)()
    alias F = a;

void main()

If it's an error it does show the stack trace, however I am not convinced that
that should also be the case for deprecations.


More information about the Digitalmars-d-bugs mailing list