https://issues.dlang.org/show_bug.cgi?id=21878 --- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> --- I should add that `inout` is also somehow to blame. Works fine without it. --