[Issue 21176] deprecation inside template should show the instance loc as errorSupplemental
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 30 22:48:09 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=21176
Boris Carvajal <boris2.9 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |boris2.9 at gmail.com
--- Comment #3 from Boris Carvajal <boris2.9 at gmail.com> ---
The required info is printed if you use "dmd -de" [1], but the more natural way
to implement this is to add an option to the "-dw" switch like -dw=context.
[1]:
onlineapp.d(6): Deprecation: variable onlineapp.a is deprecated
onlineapp.d(11): Error: template instance onlineapp.foo!int error instantiating
--
More information about the Digitalmars-d-bugs
mailing list