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