https://issues.dlang.org/show_bug.cgi?id=14728
Vladimir Panteleev <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Vladimir Panteleev <[email protected]> --- Here "," is the comma operator, which works as in C (i.e. the first expression is evaluated but its result is discarded). It is the same situation as e.g. if (x, y) { ... } The compiler should probably warn that the expression "x" has no side effects. --
