https://issues.dlang.org/show_bug.cgi?id=22300
Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/druntime pull request #3594 "Fix 22300 - Use reinterpreting cast for shared types during CTFE" was merged into stable: - 54cc0705b6d412874087f79ba8e1c54042280397 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/3594 --