mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
6 lines
132 B
Kotlin
6 lines
132 B
Kotlin
// SHOULD_FAIL_WITH: Function foo() on A already exists
|
|
class A(val n: Int) {
|
|
val <caret>foo: Boolean = n > 1
|
|
}
|
|
|
|
fun A.foo() = 1 |