https://issues.dlang.org/show_bug.cgi?id=24088

Nick Treleaven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Nick Treleaven <[email protected]> ---
Reduced:
```
import std.typecons;

void main()
{
    // Error: found `opp` when expecting `;` following statement `Tuple!(int,
int)` on line
   Tuple!(int, int) opp(int x, int y) => tuple(x + y, x - y); // no ok
}
```
BTW that error message has been improved in git master, it now says:

ft.d(12): Error: found `opp` when expecting `;` following expression
ft.d(12):        expression: `Tuple!(int, int)`

--

Reply via email to