November 21 General » Re: Proposal: Enhancing unittest with Inline Module-Level Statements | |||
|---|---|---|---|
| |||
...algorithm : equal;
if (p.equal!pred(q))
goto _error_;
}
if (p != q)
_error_:
static if... | |||
November 21 Learn » Re: Would this function benefit from functional programming? | |||
|---|---|---|---|
| |||
Heres a rule of thumb: Avoid functional programming if you should use goto | |||
November 20 Genel » Assert Sarma | |||
|---|---|---|---|
| |||
...1.no error:
if (a.equal!""(b))
{
goto _devam_;
} else
{
writeln("Diziler eşit değil!");
return... | |||
October 18 Learn » Re: Would appreciate some help porting Q3VM to D (mainly C macros and type conversions) | |||
|---|---|---|---|
| |||
...I would expect to see case statements like `case goto_OP_IGNORE: ` etc. etc. Jordan | |||
October 18 Learn » Re: Would appreciate some help porting Q3VM to D (mainly C macros and type conversions) | |||
|---|---|---|---|
| |||
...case it correctly prints "3" which is `goto_OP_ENTER`, so I don't quite... | |||
October 12 Issues » [Issue 24366] [REG]static foreach can drop last element with alias reassignment | |||
|---|---|---|---|
| |||
...tempinst = isAliasSeq(sc, ti))
{
s = aliasAssignInPlace(sc, tempinst, aliassym);
if (!s)
return errorRet();
goto Lsymdone;
}
}
+/
-- | |||
October 11 Issues » [Issue 24802] misleading "cannot `goto` into `try` block" when skipping variable with destructor | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24802 --- Comment #2 from Manu <turkeyman@gmail... | |||
October 10 Learn » Re: Wrapper for PAM | |||
|---|---|---|---|
| |||
...msg_style)
{
case PAM_PROMPT_ECHO_ON: goto case;
case PAM_PROMPT_ECHO_OFF:
switch... | |||
October 09 Issues » [Issue 24802] misleading "cannot `goto` into `try` block" when skipping variable with destructor | |||
|---|---|---|---|
| |||
...P3
Summary|Wrong error message |misleading "cannot `goto`
| |into `try` block" when
| |skipping variable with... | |||
October 09 Issues » [Issue 24802] Wrong error message | |||
|---|---|---|---|
| |||
...same happens with scope guards:
```
void main()
{
goto x;
scope(exit) {}
x:
}
```
See also issue... | |||
Copyright © 1999-2021 by the D Language Foundation