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