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