dmd icon indicating copy to clipboard operation
dmd copied to clipboard

isCopyConstructable should call isCopyable

Open WalterBright opened this issue 1 year ago • 2 comments

Seeing if this can be done.

WalterBright avatar Oct 05 '24 23:10 WalterBright

Thanks for your pull request, @WalterBright!

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 + dmd#16944"

dlang-bot avatar Oct 05 '24 23:10 dlang-bot

This fails to compile libmir with:

source/mir/rc/ptr.d(395,15): Error: `mir.rc.ptr.castTo` called with argument types `(mir_rcptr!(C))` matches both:
  source/mir/rc/ptr.d(275,13):     `mir.rc.ptr.castTo!(I, C).castTo(mir_rcptr!(C) context)`
  and:
  source/mir/rc/ptr.d(291,25):     `mir.rc.ptr.castTo!(I, C).castTo(immutable(mir_rcptr!(C)) context)`

WalterBright avatar Oct 06 '24 01:10 WalterBright