[Issue 14905] duplicate error message: 'Warning: statement is not reachable'
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Aug 11 01:10:57 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14905
--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Timothee Cour from comment #2)
> (In reply to Kenji Hara from comment #1)
> > They're not true duplication. If the error messages print their enclosing
> > functions, the messages will be:
> >
> > main.d(3): Warning: statement is not reachable in 'main.fun!"a".fun'
> > main.d(3): Warning: statement is not reachable in 'main.fun!"b".fun'
>
> But it doesn't.
> Either way, that's a technicality, it's the same root cause and should not
> result in dups.
Technically they're not dup. The two errors come from two different
instantiated functions. So, I think the two errors should not be merged into
one.
--
More information about the Digitalmars-d-bugs
mailing list