title: InvalidIterVar layout: article

InvalidIterVar occurs when two iteration variables are used while ranging
over a channel.

Example:
 func f(c chan int) {
 	for k, v := range c {
 		println(k, v)
 	}
 }