You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: