Files
kotlin-fork/idea/testData/navigation/implementations/EnumEntriesInheritance.kt
T
2014-11-18 13:25:00 +03:00

16 lines
215 B
Kotlin

enum class <caret>E {
open fun foo(n: Int): Int = n
O
A {
override fun foo(n: Int): Int = n + 1
}
B {
override fun foo(n: Int): Int = n + 2
}
}
// REF: (E).A
// REF: (E).B