Create from Usage: Make extension functions/properties 'private' by default
#KT-11799 Fixed
This commit is contained in:
+2
-2
@@ -8,6 +8,6 @@ fun test() {
|
||||
consume(1.map(Int::foo))
|
||||
}
|
||||
|
||||
fun Int.foo(): String {
|
||||
<selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
|
||||
private fun Int.foo(): String {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
+2
-2
@@ -8,6 +8,6 @@ fun test() {
|
||||
consume(1.map(Int::foo))
|
||||
}
|
||||
|
||||
fun Int.foo(): String {
|
||||
<selection>TODO("not implemented") //To change body of created functions use File | Settings | File Templates.</selection>
|
||||
private fun Int.foo(): String {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user