https://issues.dlang.org/show_bug.cgi?id=19754
--- Comment #21 from Dlang Bot <dlang-bot@dlang.rocks> --- @wilzbach updated dlang/dmd pull request #10232 "Merge remote-tracking branch 'upstream/stable' into merge_stable" fixing this issue: - Revert "Fix Issue 19754 - cast() sometimes yields lvalue, sometimes yields rvalue" This reverts commit 91e7151838a703e9c31cf308f3711ddee47c86e6. Conflicts: src/dmd/expressionsem.d src/dmd/typesem.d test/fail_compilation/fail17491.d https://github.com/dlang/dmd/pull/10232 --