Files
kotlin-fork/idea/testData/intentions/convertPropertyToFunction/existingFunConflict.kt
T
2015-02-05 23:12:38 +03:00

6 lines
125 B
Kotlin
Vendored

// SHOULD_FAIL_WITH: Function foo already exists
class A(val n: Int) {
val <caret>foo: Boolean = n > 1
}
fun A.foo() = 1