https://issues.dlang.org/show_bug.cgi?id=20068
Dlang Bot <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Dlang Bot <[email protected]> --- dlang/dmd pull request #12400 "Fix 20068 - Treat initialization of unions in constructors as @safe" was merged into master: - fafefbc93f212d471b2cacf0208772e9a8d18286 by MoonlightSentinel: Fix 20068 - Treat initialization of unions in constructors as @safe Don't eagerly check the safety of a `DotVarExp` when determining whether it's modifiable and instead defer it after the `ConstructExp` lowerings. This also ensures proper error messages when initializing an immutable member twice. https://github.com/dlang/dmd/pull/12400 --
