https://issues.dlang.org/show_bug.cgi?id=17423 --- Comment #1 from Eyal <eyal at weka.io> --- I think foreach on delegates (opApply or delegates) should require the delegate parameter to be marked "scope" since it really must not escape. --