Eigenpoll : D wish list : Multistep return 

*Example
private import std.string;
uint[] foo(uint i){
void bar(uint i2){
void foo2(uint i3){
if(i2>1)return;
return return return new uint[i3];
}
foo2(i2);
uint[] re=new uint[i2];
for(;;i2--)re[i2-1]=i2;
return return re;
}
switch(i){
case 0:bar(1);
case 1:bar(3);
case 2:bar(2);
case 3:bar(4);
default:
}
assert(0);
}

Report this item for cleanup