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
@@ -4,7 +4,7 @@ class Foo<T> {
operator fun component2(): Int { return 0 }
operator fun component3(): 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.
}
}
fun foo() {
@@ -4,7 +4,7 @@ class Foo<T> {
operator fun component2(): Int { return 0 }
operator fun component3(): 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.
}
}
fun foo() {
@@ -3,12 +3,12 @@
class FooIterator<T> {
operator fun hasNext(): Boolean { return false }
operator fun next(): Any {
throw UnsupportedOperationException("not implemented")
TODO("not implemented")
}
}
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")
TODO("not implemented")
}
}
class Foo<T> {
operator fun iterator(): FooIterator<String> {
throw UnsupportedOperationException("not implemented")
TODO("not implemented")
}
}
operator fun Any.component1(): Int {
@@ -19,5 +19,5 @@ fun foo() {
}
operator fun Any.component2(): Int {
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.
}