I'm compiling GenProperties and get the following Error:
Error:(74, 63) Kotlin: Type mismatch: inferred type is java.util.ArrayList<java.lang.reflect.TypeVariable<java.lang.Class<out java.lang.Object!>!>!> but kotlin.MutableList<java.lang.reflect.TypeVariable<out java.lang.Class?>?> was expected
The relevant lines is as follows:
val tyParamList = clazz.getTypeParameters().toArrayList()
val tyParams = util.genTypeParamsString(tyParamList)
val tyParamsFirst = util.genFirstTypeParamsString(tyParamList)
Thank you for your great work.
I'm compiling GenProperties and get the following Error:
Error:(74, 63) Kotlin: Type mismatch: inferred type is java.util.ArrayList<java.lang.reflect.TypeVariable<java.lang.Class<out java.lang.Object!>!>!> but kotlin.MutableList<java.lang.reflect.TypeVariable<out java.lang.Class?>?> was expected
The relevant lines is as follows: val tyParamList = clazz.getTypeParameters().toArrayList() val tyParams = util.genTypeParamsString(tyParamList) val tyParamsFirst = util.genFirstTypeParamsString(tyParamList)
How to solve this problem? Thanks again.