https://issues.dlang.org/show_bug.cgi?id=23445
--- Comment #5 from Walter Bright <bugzi...@digitalmars.com> --- (In reply to timon.gehr from comment #2) > My initial example literally escapes a reference to a dead stack variable in > `@safe` code. Of course this is a problem. It is not a stack variable, though. It is allocated on the heap. --