Allow singletons and functions with the same name
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
fun Foo() = 42
|
||||
|
||||
object Foo {
|
||||
fun Bar() = 239
|
||||
|
||||
object Bar
|
||||
}
|
||||
|
||||
|
||||
|
||||
<!CONFLICTING_OVERLOADS!>fun En()<!> = 239
|
||||
|
||||
enum class <!CONFLICTING_OVERLOADS!>En<!> {
|
||||
ENTRY
|
||||
|
||||
SUBCLASS { }
|
||||
|
||||
fun ENTRY() = 42
|
||||
|
||||
fun SUBCLASS() = ENTRY()
|
||||
}
|
||||
Reference in New Issue
Block a user