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