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