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