https://issues.dlang.org/show_bug.cgi?id=22067
--- Comment #1 from Iain Buclaw <[email protected]> --- DMD accepts any conditional expression on the LHS and diagnose the invalid lvalue rather than producing a syntax error. So the issue is that this isn't detected during semantic, unlike issue 22068 (though we could also move that to semantic too to for a consistent error message). --
