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() {
|
||||
val (a, b) = pair()
|
||||
}
|
||||
|
||||
private fun pair(): Pair<Int, Int> {
|
||||
return 1 to 2
|
||||
}
|
||||
private fun pair() = 1 to 2
|
||||
Reference in New Issue
Block a user