[Issue 23901] Spurious "Cannot move object [...] with internal pointer"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 7 22:13:37 UTC 2023


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

Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|All                         |x86_64
                 OS|All                         |Linux

--- Comment #6 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
Please pay attention to the

public import std.algorithm.mutation : move;

line. Yes, it doesn't happen with the core.lifetime implementation. But, again,
I don't think the problem is in Phobos or Druntime, it seems to be in the
compiler. And yeah, since it's deep in the backend, it might not be
reproducible on other platforms.

I haven't reduced it further because it's easy to work around (use the
core.lifetime implementation) but there is still probably a bug in the backend.

--


More information about the Digitalmars-d-bugs mailing list