``` if (this is CharProgression || this is IntProg...
# kontributors
i
Copy code
if (this is CharProgression || this is IntProgression || this is LongProgression) {
    	return this.last
}
Such block won't compile, each progression type should be checked individually. Also it's better to do it before creating an iterator.