```nim import sequtils iterator it: int = yield 2; yield 4 for x in toSeq(it())[0..^1]: #invalid context for '^' as ' discard ```