[Issue 22300] [REG 2.098-rc.2] `-checkaction=context` of a `shared` type with an `opCast` fails to compile

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 8 15:54:14 UTC 2021


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

--- Comment #6 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/druntime pull request #3615 "Merge `stable` in `mater`" was merged into
master:

- e8121cc6aaccfe5359071d077495de0c989be24c by MoonlightSentinel:
  Fix 22300 - Use reinterpreting cast for shared types during CTFE

  Using the same method for compile- and runtime was enabled by
  dlang/dmd#13203. Using a reinterpreting cast avoids any potentially
  calling into user-defined `opCast` methods which might reject the cast.

https://github.com/dlang/druntime/pull/3615

--


More information about the Digitalmars-d-bugs mailing list