https://issues.dlang.org/show_bug.cgi?id=9009
--- Comment #8 from Nick Treleaven <[email protected]> --- Just to note that a related issue is: foreach (i, Unused; ...) This may be more common than the foreach (Unused; ...) case - see: http://forum.dlang.org/post/[email protected] A possible solution for both is to use '__' for the unused variable, but the language enforces that __ is never used and is allowed to shadow: http://forum.dlang.org/post/[email protected] Note that __ is already a reserved identifier. --
