May 20, 2009 switch-case (bug, not a proposal) | ||||
|---|---|---|---|---|
| ||||
Why can we do
string s;
switch(s)
{
case "blah":
break;
default:
}
but not
byte[] a;
switch(a)
{
case [cast(byte)1,2,3]:
break;
default:
}
?
| ||||
May 20, 2009 Re: switch-case (bug, not a proposal) | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Lionello Lunesu | heh: http://d.puremagic.com/issues/show_bug.cgi?id=596 | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply