Files
kotlin-fork/compiler/testData/diagnostics/tests/redeclarations/SingletonAndFunctionSameName.fir.kt
T

22 lines
202 B
Kotlin
Vendored

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