Extraction Engine: Generate function/property accessor with expression body (whenever applicable)
#KT-6405 Fixed
This commit is contained in:
+1
-3
@@ -4,6 +4,4 @@ fun foo(a: Int): Int {
|
||||
return if (a + b > 0) i() else if (a - b < 0) 2 else b
|
||||
}
|
||||
|
||||
private fun i(): Int {
|
||||
return 1
|
||||
}
|
||||
private fun i() = 1
|
||||
|
||||
Reference in New Issue
Block a user