[Issue 16577] deduplicate deprecation messages

2017-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16577

Martin Nowak  changed:

   What|Removed |Added

 CC||c...@dawg.eu
   Severity|minor   |enhancement

--- Comment #2 from Martin Nowak  ---
Would be fairly simple to deduplicate deprecation messages when triggering
them, not sure about the memory requirements (prolly not much) or other
strategies to avoid emitting the same message.
We should only deduplicate messages occuring at the same source location, so
that it remains possible to fix all of them in one go.

--


[Issue 16577] deduplicate deprecation messages

2016-12-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16577

greenify  changed:

   What|Removed |Added

 CC||greeen...@gmail.com
Summary|deprecated message problem  |deduplicate deprecation
   |with overloaded functions   |messages
   |and selective import|

--- Comment #1 from greenify  ---
Trying to deprecate std.typetuple led to an armada of deprecation messages:

https://ci.dawg.eu/job/projects/458/REPO=rejectedsoftware%2Fvibe.d/consoleFull

So I guess there should be some mechanism in dmd to deduplicate deprecation
messages (thus I changed the title accordingly)

--