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