Create from Usage: Make extension functions/properties 'private' by default

#KT-11799 Fixed
This commit is contained in:
Alexey Sedunov
2016-08-17 14:19:04 +03:00
parent 92b0c852dd
commit 99ba340236
35 changed files with 37 additions and 35 deletions
@@ -7,6 +7,6 @@ fun test() {
val a: A<Int> = 2 + A(1)
}
infix operator fun Int.plus(a: A<Int>): A<Int> {
private infix operator fun Int.plus(a: A<Int>): A<Int> {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}
@@ -5,6 +5,6 @@ fun test() {
val t: Int = 1 `!u00A0` 2
}
infix fun Int.`!u00A0`(i: Int): Int {
private infix fun Int.`!u00A0`(i: Int): Int {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
}