mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
17 lines
210 B
Kotlin
Vendored
17 lines
210 B
Kotlin
Vendored
package some
|
|
|
|
import enums.E
|
|
import enums.Base
|
|
|
|
fun f(<warning>e</warning>: Base) {
|
|
|
|
}
|
|
|
|
fun test() {
|
|
f(E.E1)
|
|
f(E.E2)
|
|
f(E.E3)
|
|
f(E.<error>E4</error>)
|
|
f(E.<error>Invalid</error>)
|
|
E.E1.f()
|
|
} |