Extraction Engine: Generate function/property accessor with expression body (whenever applicable)
#KT-6405 Fixed
This commit is contained in:
@@ -3,9 +3,7 @@ class A(val n: Int = 1) {
|
||||
val m: Int = 2
|
||||
|
||||
private val i: Int
|
||||
get() {
|
||||
return m + n + 1
|
||||
}
|
||||
get() = m + n + 1
|
||||
|
||||
fun foo(): Int {
|
||||
return i
|
||||
|
||||
Reference in New Issue
Block a user