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

--- Comment #3 from Kenji Hara <[email protected]> ---
(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.

--

Reply via email to