This bug is listed as fixed in DMD v2.086.1, but I’m still getting it on my machine. My first thought that something is wrong with the Windows build of DMD, but I can also reproduce it on run.dlang.io, which runs on Linux and currently uses DMD v2.086.1 (https://run.dlang.io/is/DM8fNJ).