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