Hi guys, I'm having an issue with `kotlinpoet`. Ba...
# squarelibraries
c
Hi guys, I'm having an issue with
kotlinpoet
. Basically I am doing
myAnnotatedInterface.enclosedElements[0].asType().asTypeName()
and it is giving me an error:
Unexpected type mirror: ()java.lang.String
. Am I doing something wrong? Why is this
()
before the type added? Of course this is just an example, but it's returning me this error everywhere I use
myType.asTypeName()
EDIT: seems like it's (kinda) correct when using interfaces