Extract Function: Choose default visibility at analysis phase
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ fun foo(a: Int): Int {
|
||||
}
|
||||
}
|
||||
|
||||
fun b(a: Int, b: Int): Boolean {
|
||||
private fun b(a: Int, b: Int): Boolean {
|
||||
if (a > 0) throw Exception("")
|
||||
if (a + b > 0) return true
|
||||
println(a - b)
|
||||
|
||||
Reference in New Issue
Block a user