This commit is contained in:
Dmitry Jemerov
2016-07-19 17:57:49 +02:00
parent 3cbe28095b
commit 079d857aa2
188 changed files with 218 additions and 201 deletions
@@ -1,7 +1,7 @@
// "Create member function 'iterator'" "true"
class Foo<T> {
operator fun iterator(): Iterator<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -1,7 +1,7 @@
// "Create member function 'iterator'" "true"
class Foo<T> {
operator fun iterator(): Iterator<String> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
@@ -4,7 +4,7 @@ class FooIterator<T> {
}
class Foo<T> {
operator fun iterator(): FooIterator<String> {
throw UnsupportedOperationException("not implemented")
TODO("not implemented")
}
}
operator fun Any.component1(): Int {
@@ -3,12 +3,12 @@ class FooIterator<T> {
operator fun hasNext(): Boolean { return false }
operator fun next(): Any {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
class Foo<T> {
operator fun iterator(): FooIterator<String> {
throw UnsupportedOperationException("not implemented")
TODO("not implemented")
}
}
operator fun Any.component1(): Int {