Intentions: function <-> property conversion
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class A(val n: Int) {
|
||||
fun <caret>foo(): Boolean = n > 1
|
||||
}
|
||||
|
||||
fun test() {
|
||||
val t = A(1).foo()
|
||||
}
|
||||
Reference in New Issue
Block a user