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

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MoonlightSentinel created dlang/phobos pull request #7502 "Fix Issue 20869 -
`move` is overly trusting of `opPostMove`" fixing this issue:

- Fix Issue 20869 - `move` is overly trusting of `opPostMove`

  Remove the manual check whether move is `@safe` and instead let the
  compiler do the attribute interference by adding appropriate @trusted
  blocks.

  Note:
  I could've extend the current checks `trustedMoveImpl` but that could
  easily miss other corner cases.

https://github.com/dlang/phobos/pull/7502

--

Reply via email to