[Issue 19279] mutable does not promote to shared
https://issues.dlang.org/show_bug.cgi?id=19279 Iain Buclaw changed: What|Removed |Added Priority|P1 |P4 --
[Issue 19279] mutable does not promote to shared
https://issues.dlang.org/show_bug.cgi?id=19279 --- Comment #1 from Manu --- Conversation: https://github.com/dlang/dmd/pull/8782 Reveals that `scope` is also necessary to guarantee that the promoted reference does not escape. Promotion is safe so long as no promoted-reference outlives the call w