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
@@ -5,7 +5,7 @@ fun consume(s: String) {}
fun test() {
fun foo(i: Int): String {
<selection>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
consume(1.map(::foo))
}
@@ -9,5 +9,5 @@ fun test() {
}
fun Int.foo(): String {
<selection>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
@@ -3,7 +3,7 @@ fun <T, U> T.map(f: (T) -> U) = f(this)
fun test() {
fun foo(i: Int): Any {
<selection>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
1.map(::foo)
}
@@ -9,5 +9,5 @@ fun test() {
}
fun Int.foo(): String {
<selection>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
@@ -5,7 +5,7 @@ fun consume(s: String) {}
fun test() {
fun foo(i: Int): String {
<selection>throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
<selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
}
consume(1.map(::foo))
}