https://issues.dlang.org/show_bug.cgi?id=14212 --- Comment #5 from Илья Ярошенко <ilyayaroshenko at gmail.com> --- The `value` should be mutable variable since it is changed inside function. The fix adds `Unqual!T vf = value;` to fix this issue. --