digitalmars.D - switch-case (bug, not a proposal)
- Lionello Lunesu (17/17) May 20 2009 Why can we do
- Lionello Lunesu (1/1) May 20 2009 heh: http://d.puremagic.com/issues/show_bug.cgi?id=596
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
heh: http://d.puremagic.com/issues/show_bug.cgi?id=596
May 20 2009








"Lionello Lunesu" <lionello lunesu.remove.com>