J2K: generate accessor bodies in expression form if possible

This commit is contained in:
Valentin Kipyatkov
2015-09-23 15:11:22 +03:00
parent ee5a853faa
commit c05232bbb7
16 changed files with 58 additions and 94 deletions
+1 -3
View File
@@ -1,4 +1,2 @@
val string: String
get() {
return ""
}
get() = ""
@@ -1,4 +1,2 @@
val isTrue: Boolean
get() {
return true
}
get() = true
+1 -3
View File
@@ -1,4 +1,2 @@
val string: String
get() {
return ""
}
get() = ""