On one hand it's pretty simple, any InteropInterface{} return item can be treated as an iterator by default (other types are very rare), but on the other we have no idea what's the type of an individual iterator element. Even #2767 doesn't help a lot without additional annotations.
On one hand it's pretty simple, any
InteropInterface{}
return item can be treated as an iterator by default (other types are very rare), but on the other we have no idea what's the type of an individual iterator element. Even #2767 doesn't help a lot without additional annotations.