update testdata for https://github.com/JetBrains/kotlin/pull/896/
This commit is contained in:
+1
-1
@@ -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))
|
||||
}
|
||||
+1
-1
@@ -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>
|
||||
}
|
||||
|
||||
+1
-1
@@ -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)
|
||||
}
|
||||
+1
-1
@@ -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>
|
||||
}
|
||||
|
||||
+1
-1
@@ -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))
|
||||
}
|
||||
Reference in New Issue
Block a user