[Issue 14905] duplicate error message: 'Warning: statement is not reachable'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 10 06:40:39 UTC 2022


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

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

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

--- Comment #4 from RazvanN <razvan.nitu1305 at gmail.com> ---
I agree with Kenji, those are technically different error messages. There is no
way to fix this that would not impact warnings in conditional compilation. What
we can do though is add the name of the template instance in the error message
as to disambiguate.

PR: https://github.com/dlang/dmd/pull/14543

--


More information about the Digitalmars-d-bugs mailing list