J2K: get/set-methods converted to properties (but lot of TODOs left)
This commit is contained in:
@@ -2,14 +2,15 @@ internal object Library {
|
||||
fun call() {
|
||||
}
|
||||
|
||||
fun getString(): String {
|
||||
return ""
|
||||
}
|
||||
val string: String
|
||||
get() {
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
||||
internal class User {
|
||||
fun main() {
|
||||
Library.call()
|
||||
Library.getString().isEmpty()
|
||||
Library.string.isEmpty()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user