Don't propagate reified markers for special enum functions
#KT-18254 Fixed
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// FILE: 1.kt
|
||||
// WITH_RUNTIME
|
||||
package test
|
||||
|
||||
inline fun stub() {}
|
||||
|
||||
enum class Z {
|
||||
OK
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
import test.*
|
||||
|
||||
fun box(): String {
|
||||
return { enumValueOf<Z>("OK").name } ()
|
||||
}
|
||||
Reference in New Issue
Block a user