Generic return type is not inferred in for-each loop

Printable View