[Issue 21035] wrong code when uses struct's methods of .init value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 31 08:38:20 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=21035

Mathias LANG <pro.mathias.lang at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
                 CC|                            |pro.mathias.lang at gmail.com

--- Comment #6 from Mathias LANG <pro.mathias.lang at gmail.com> ---
Definitely an accepts-invalid.
Trying to bind `.init` to a mutable lvalue should not be allowed.

--


More information about the Digitalmars-d-bugs mailing list