https://issues.dlang.org/show_bug.cgi?id=18744
RazvanN <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |WORKSFORME --- Comment #1 from RazvanN <[email protected]> --- Using latest dmd master I get: test2.d(7): Error: `cast(Object)a` is not an lvalue and cannot be modified test2.d(8): Error: conditional expression `true ? cast(Object)a : cast(Object)b` is not a modifiable lvalue So this seems to have been fixed. --
