Thread overview | |||||
---|---|---|---|---|---|
|
April 07, 2018 [Issue 18744] Class l-values can be implicitly converted to `Object` l-values, even in safe code | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18744 Stefan <kdevel@vogtner.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kdevel@vogtner.de -- |
December 17, 2022 [Issue 18744] Class l-values can be implicitly converted to `Object` l-values, even in safe code | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18744 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 -- |
April 03, 2023 [Issue 18744] Class l-values can be implicitly converted to `Object` l-values, even in safe code | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18744 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WORKSFORME --- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> --- 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. -- |
Copyright © 1999-2021 by the D Language Foundation