druntime icon indicating copy to clipboard operation
druntime copied to clipboard

assumeUnshared: convert shared lvalue to a non-shared one

Open wilzbach opened this issue 7 years ago • 6 comments

Revival of https://github.com/dlang/druntime/pull/724 from the dead.

Changes from #724:

  • rebased
  • fix doc/style nits
  • added changelog entry

This would be a great use case for an experimental stage or an marking a symbol as "unstable" for a few releases.

wilzbach avatar Mar 29 '18 00:03 wilzbach

Thanks for your pull request, @wilzbach!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + druntime#2156"

dlang-bot avatar Mar 29 '18 00:03 dlang-bot

@wilzbach Is this still under work? I really need this Thanks!

jercaianu avatar Apr 11 '18 13:04 jercaianu

@wilzbach ping, what is the status of this?

jacob-carlborg avatar May 22 '18 06:05 jacob-carlborg

@wilzbach ping, what is the status of this?

Needs approval from @andralex :/

wilzbach avatar May 10 '19 08:05 wilzbach

@andralex I have rebased and removed the immutable overload. Is this good to go now?

RazvanN7 avatar Nov 09 '21 11:11 RazvanN7

@MoonlightSentinel I have added a note about assumeUnshareds transitivity.

RazvanN7 avatar Jan 24 '22 13:01 RazvanN7