Search

May 03
Learn »
It has to be a bug, and taking it a step further shows that. If...
May 03
Learn »
...x;
    goto Label;
    int y;
    Label:
    int z;
}

void f2(){ //compiles fine
    int x;
    goto...
April 29
Issues »
...All paths that lead to the error (`goto LFail` or the "fallthrough" before `Lfail`) should...
April 22
DIP Ideas »
...the unusual scoping rules, the ability to goto in and out of it, the ability...
April 19
DIP Ideas »
...to understand and maybe even implement.

Conceptually, `goto default` and other constructs that transfer execution...
April 19
DIP Ideas »
...your example I don't understand why `goto default` wouldn't have the same type...
April 19
DIP Ideas »
...negative int" : goto default;
    default -> "some other int";
}
```
This will work _if_ `goto default` is...
April 18
General »
...you tried to access it.

If you goto past a variable, that is a compiler...
April 11
DIP Ideas »
...it as well, well... Fun.

And like goto's we don't allow you to...
March 30
General »
...before it was initialized
        p = new<int>;
    }
```

Goto skipping initialization is already disallowed in D.

1 2 3 4 5 6 7
Next ›   Last »