J2K: get/set-methods converted to properties (but lot of TODOs left)

This commit is contained in:
Valentin Kipyatkov
2015-09-23 00:54:48 +03:00
parent 3f6cadf9b7
commit 320102bbdb
41 changed files with 1266 additions and 298 deletions
@@ -4,18 +4,19 @@ internal class Library {
fun call() {
}
fun getString(): String? {
return ""
}
val string: String?
get() {
return ""
}
}
internal class User {
fun main() {
val lib: Library = Library()
lib.call()
lib.getString()!!.isEmpty()
lib.string!!.isEmpty()
Library().call()
Library().getString()!!.isEmpty()
Library().string!!.isEmpty()
}
}