59a714ca5c
#KT-12943 Fixed
6 lines
132 B
Kotlin
Vendored
6 lines
132 B
Kotlin
Vendored
// SHOULD_FAIL_WITH: Function foo() on A already exists
|
|
class A(val n: Int) {
|
|
val <caret>foo: Boolean = n > 1
|
|
}
|
|
|
|
fun A.foo() = 1 |