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 n: Int) {
|
||||
fun foo(a: Int, b: Int) = { i(a, b) - 1 }.invoke()
|
||||
|
||||
private fun i(a: Int, b: Int): Int {
|
||||
return a + b - n
|
||||
}
|
||||
private fun i(a: Int, b: Int) = a + b - n
|
||||
}
|
||||
Reference in New Issue
Block a user