https://issues.dlang.org/show_bug.cgi?id=17423 --- Comment #6 from Walter Bright <bugzilla at digitalmars.com> --- The opApply is actually working correctly. The bug is that the dlg parameter was incorrectly inferred as `scope`. --