dfmt/tests/issue0107.d
2015-03-16 15:45:22 -07:00

15 lines
195 B
D

void msgpackToGValue(MsgValue input)
{
with (MsgValue.Type) switch (input.type)
{
case boolean:
a();
break;
case unsigned:
b();
break;
default:
assert(false);
}
return retVal;
}