This function:
int fun()(int a, int b)
{
if ((a > 0) | (b > 0)) return 4;
return 3;
}
when put through the .di generator, results in this code:
int fun()(int a, int b)
{
if (a > 0 | b > 0)
return 4;
return 3;
}
Subsequently dmd doesn't like the paren-less expression, causing a compile-time error.
Comment #1 by razvan.nitu1305 — 2018-03-12T14:25:19Z