https://issues.dlang.org/show_bug.cgi?id=23530
--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> --- @ntrel updated dlang/dmd pull request #16315 "Fix Bugzilla 24434 - Casting away const with cast() is not a @safe lv…" fixing this issue: - Workaround for safe append Fixes Bugzilla 23530 - casting immutable away allowed in safe. https://github.com/dlang/dmd/pull/16315 --