J2K: get/set-methods converted to properties (but lot of TODOs left)
This commit is contained in:
+5
-4
@@ -1,5 +1,5 @@
|
||||
internal class A {
|
||||
private var i: Int? = getByte().toInt()
|
||||
private var i: Int? = byte.toInt()
|
||||
|
||||
fun foo() {
|
||||
i = 10
|
||||
@@ -7,8 +7,9 @@ internal class A {
|
||||
|
||||
companion object {
|
||||
|
||||
fun getByte(): Byte {
|
||||
return 0
|
||||
}
|
||||
val byte: Byte
|
||||
get() {
|
||||
return 0
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user