Issue 12739 - Foreach delegate to opApply does not have infered nothrow

https://issues.dlang.org/show_bug.cgi?id=12739