cc7187e49b
Generic functions and implicit casts may return a supertype instead. #KT-45865 Fixed
7 lines
109 B
Kotlin
Vendored
7 lines
109 B
Kotlin
Vendored
// IGNORE_BACKEND: WASM
|
|
enum class E { OK }
|
|
|
|
fun <T> id(x: T) = x
|
|
|
|
fun box() = enumValueOf<E>(id("OK")).name
|