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
@@ -8,6 +8,6 @@ class A(a: Int, b: Int): T
class B(a: Int, b: Int): T by A(i(a, b), a - b)
fun i(a: Int, b: Int): Int {
private fun i(a: Int, b: Int): Int {
return a + b
}
@@ -6,6 +6,6 @@ class A(a: Int, b: Int): T
class B(t: T): T by t(t)
fun t(t: T): T {
private fun t(t: T): T {
return t
}
@@ -6,6 +6,6 @@ open class A(a: Int, b: Int)
class B(a: Int, b: Int): A(i(a, b), a - b)
fun i(a: Int, b: Int): Int {
private fun i(a: Int, b: Int): Int {
return a + b
}