On Monday, 6 December 2021 at 20:31:47 UTC, Jan wrote: > So am I missing something, or did the compiler somehow forget > about the const-ness? Sounds like a bug to me, eg this one: https://issues.dlang.org/show_bug.cgi?id=20685