6 lines
125 B
Kotlin
Vendored
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 |