Marco Leise <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #17 from Marco Leise <> 2012-02-02 06:56:03 PST 
(In reply to comment #9)
> I would point out that if it is made an error to have unused local variables,
> function parameters must _not_ be included in it. That would be a major 
> problem
> in cases where overridden functions don't use all of their parameters, but 
> they
> have to have them because the base class' function does.

In languages where you cannot omit the name of the parameter it is a problem.
In D you just leave the parameter name away and this problem is solved + it
becomes evident from looking at the method, that it doesn't use a certain
parameter. That would make a nice coding standard as well.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to