[Issue 1245] static foreach shouldn't define new scope and introduce new variables

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 25 09:49:06 PDT 2007


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


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid




------- Comment #3 from smjg at iname.com  2007-05-25 11:49 -------
I see.

But I'm not sure I see how it would work to make foreach not define a scope in
such circumstances.  OTOH, I agree that xi should be recognised as constant.


-- 



More information about the Digitalmars-d-bugs mailing list