[Issue 11070] Allow declaration statement in a switch expression

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 17 08:41:08 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11070


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |preapproved


--- Comment #7 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-02-17 08:40:59 PST ---
http://forum.dlang.org/post/ldtdhm$o4q$1@digitalmars.com : 

-----
That bugzilla is a minor improvement that has precedent in the "if" 
statement, so I'd accept "switch (auto var = expr)" if implemented.
-----

Tagging as preapproved.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list