On Saturday, 18 December 2021 at 19:48:00 UTC, D Lark wrote: > Can someone please tell me if this is expected behaviour and > what the reasoning is behind this choice? Looks like a bug. I've filed a report on the D issue tracker: https://issues.dlang.org/show_bug.cgi?id=22608