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
@@ -1,10 +1,10 @@
internal interface I {
fun getString(): String
val string: String
}
internal class C {
fun foo(i: I, b: Boolean) {
var result: String? = i.getString()
var result: String? = i.string
if (b) result = null
if (result != null) {
print(result)