[Issue 2023] Returning from foreach body doesn't work as expected.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 21 05:57:13 PDT 2008


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





------- Comment #1 from wbaxter at gmail.com  2008-04-21 07:57 -------
Here's my opportunity to restate my opinion that the programmer should not be
responsible for passing around opaque magic values generated by the compiler. 
At least not in a supposedly modern language.

I wrote a proposal about how to make opApply more user-friendly
Here: digitalmars.D:64686
And a few clarifications here: digitalmars.D:64706

Unfortunately I think it really requires macro() to make it pretty.


-- 



More information about the Digitalmars-d-bugs mailing list