[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
https://issues.dlang.org/show_bug.cgi?id=21176
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()
{
foo!int;
}
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