[Issue 2197] Need warning on declared, but unaccessed, variables

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 9 02:44:34 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2197


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com




------- Comment #1 from smjg at iname.com  2009-04-09 04:44 -------
A nice idea, but one problem is that it would raise warnings for method
parameters that are there just for those subclasses that need them.  Either
you'd need to add dummy statements to use them all, or we'd need to add
something to the language to enable the warning to be suppressed (such as the
ability to omit parameter names like in C++).


-- 



More information about the Digitalmars-d-bugs mailing list