Fix compiler tests

This commit is contained in:
Yan Zhulanow
2015-09-21 23:40:34 +03:00
parent 35362a0f3b
commit 6db9344659
319 changed files with 1034 additions and 1032 deletions
@@ -2,7 +2,7 @@
import java.util.Enumeration
fun <T> java.util.Enumeration<T>.iterator() = object : Iterator<T> {
operator fun <T> java.util.Enumeration<T>.iterator() = object : Iterator<T> {
public override fun hasNext(): Boolean = hasMoreElements()
public override fun next() = nextElement()