Is there any support for flexible types? Maybe som...
# ksp
v
Is there any support for flexible types? Maybe someone can give me a hint how to convert parametrized flexible type to e regular one? (assuming that I don’t have nullable types that come from java)
I can use
makeNotNullable()
for the outer type, and plan to do the same for the argument, but I am not sure how to detect if type is flexible or not
Also the place is in a critical path of my code, so I’m trying to do as less work as possible there ^_^
I can see that inner
kotlinType
reference could be checked like
kotlinType is FlexibleType
but it will require reflection since it is not public >_<
j
your helper function looks good to me.
🙏 1