Don't propagate reified markers for special enum functions

#KT-18254 Fixed
This commit is contained in:
Mikhael Bogdanov
2017-11-06 11:43:41 +01:00
parent 800cc63347
commit 416392bb74
12 changed files with 70 additions and 11 deletions
+17
View File
@@ -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 } ()
}