Introduce Property: Place property before its usages
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
val n: Int = 1
|
||||
|
||||
private val i = n + 1
|
||||
|
||||
fun foo(): Int {
|
||||
return i
|
||||
}
|
||||
|
||||
private val i = n + 1
|
||||
}
|
||||
Reference in New Issue
Block a user