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