I think this is just a language oversight. It's allowed in if
statements, and people have made a good case for allowing it for
switch statements. It just hasn't been implemented. I made an
attempt one evening to implement it for switch statements, but
I'm not at all familiar with DMD, so I put it on the back burner
for the time being.
- with (auto p = new ...) Andre via Digitalmars-d-learn
- Re: with (auto p = new ...) Nordlöw
- Re: with (auto p = new ...) Graham Fawcett via Digitalmars-d-learn
- Re: with (auto p = new ...... Graham Fawcett via Digitalmars-d-learn
- Re: with (auto p = new... andre via Digitalmars-d-learn
- Re: with (auto p =... Meta via Digitalmars-d-learn
- Re: with (auto p =... Nordlöw
- Re: with (aut... Andre via Digitalmars-d-learn
- Re: with ... ketmar via Digitalmars-d-learn
- Re: with (auto p = new ...) kiran kumari via Digitalmars-d-learn
- Re: with (auto p = new ...) Freddy via Digitalmars-d-learn
- Re: with (auto p = new ...... Freddy via Digitalmars-d-learn