Files
kotlin-fork/compiler/testData/diagnostics/tests/redeclarations/SingletonAndFunctionSameName.fir.kt
T
2022-07-01 15:07:48 +00:00

22 lines
214 B
Kotlin
Vendored

fun Foo() = 42
object Foo {
fun Bar() = 239
object Bar
}
fun En() = 239
enum class <!CONFLICTING_OVERLOADS!>En<!> {
ENTRY,
SUBCLASS { };
fun ENTRY() = 42
fun SUBCLASS() = ENTRY()
}