Walter:

> The thing is, I've tried the things Clang tries way back in the 80's. It's 
> attempting the impossible.

"Unused variables", "dead assignments", "dead last assignments" aren't bugs and 
they are sometimes acceptable while you debug some code, but you too agree they 
are better removed from code meant to be good and tidy (also because they 
sometimes associated with bugs). You have appreciated some of those "dead code" 
(useless variables) notes from Clang:
https://github.com/D-Programming-Language/dmd/compare/c50a936...08aa57a

Bye,
bearophile

Reply via email to