[Issue 17920] Missing postblit for `T lhs = cast(T) <const(T) rhsLValue>`
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 19 10:16:56 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=17920
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |razvan.nitu1305 at gmail.com
Resolution|--- |WORKSFORME
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
I cannot reproduce this for neither postblit, nor copy constructor. When I
compile the initial test case with latest master, I get:
fromMutable.val: 102
postblit: 2, dtor: 2
fromConst.val: 102
postblit: 4, dtor: 4
Which is the correct behavior.
--
More information about the Digitalmars-d-bugs
mailing list