Closed chinacharis closed 6 years ago
enum class UserInfoFieldEnum private constructor(val value: Int, val fieldType: KClass<*>?) {
undefined(-1, null as KClass
companion object {
fun typeOfValue(pI: Int): UserInfoFieldEnum {
val v1aUIFEnum: Array<UserInfoFieldEnum> = UserInfoFieldEnum.values()
val v2I = v1aUIFEnum.size
for (v3I in 0 until v2I) {
val v4UIFEnum = v1aUIFEnum[v3I]
if (v4UIFEnum.value == pI) {
return v4UIFEnum
}
}
return undefined
}
}
}
this enum lead this crash, why?
Shall be fixed with #1810
Information:Building target 'ucstar_basesdk' for architecture 'x86_64' using 'Simulator - iOS 11.4' sdk Information:Running script 'Compile Kotlin/Native'
too many codes, can not find crash reason...