https://issues.dlang.org/show_bug.cgi?id=21807
--- Comment #7 from Dlang Bot <[email protected]> --- dlang/dmd pull request #12398 "Issue 21807 - Missing deprecation when slicing static array temporary..." was merged into stable: - 5110b4e6dc9849001b273bd443a2b67ac490dd1b by MoonlightSentinel: Issue 21807 - Missing deprecation when slicing static array temporary... ...in class methods. The checks for such slices relied on `va` while actually just caring about the current type. This was broken by [1] which clears `va` for class members to detect escapes of delegates. This also applied to the checks for struct temporaries/literals. [1] https://github.com/dlang/dmd/pull/8008 https://github.com/dlang/dmd/pull/12398 --
