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

--- Comment #2 from Dlang Bot <[email protected]> ---
dlang/dmd pull request #13203 "Issue 22300 - Allow shared <-> unshared
reinterpreting casts during CTFE" was merged into stable:

- 80a4215978914d1860263da89884e6799679b36e by MoonlightSentinel:
  Issue 22300 - Allow shared <-> unshared reinterpreting casts during CTFE

  CTFE evaluation is single threaded only, hence it's safe to discard the
  `shared` qualifier in a reinterpreting cast.

  This change allows `-checkaction=context` to use a reinterpreting cast
  for compile and runtime - which removes the problematic workaround
  that caused the regression.

https://github.com/dlang/dmd/pull/13203

--

Reply via email to