Extract Function: Choose default visibility at analysis phase

This commit is contained in:
Alexey Sedunov
2014-07-28 16:24:05 +04:00
parent 8af173bd4b
commit cb3328c052
131 changed files with 139 additions and 135 deletions
@@ -9,6 +9,6 @@ fun foo(t: Array<Array<Int>>) {
}
}
fun i(it: Int): Int {
private fun i(it: Int): Int {
return it + 1
}
@@ -9,6 +9,6 @@ fun foo(t: Array<Int>) {
}
}
fun b(t: Array<Int>): Boolean {
private fun b(t: Array<Int>): Boolean {
return t.check { it + 1 > 1 }
}
@@ -9,6 +9,6 @@ fun foo(t: Array<Array<Int>>) {
}
}
fun b(it: Array<Int>): Boolean {
private fun b(it: Array<Int>): Boolean {
return it.check { it + 1 > 1 }
}
@@ -9,6 +9,6 @@ fun foo(t: Array<Int>) {
}
}
fun i(it: Int): Int {
private fun i(it: Int): Int {
return it + 1
}