https://kotlinlang.org logo
#arrow-meta
Title
# arrow-meta
m

melatonina

05/04/2020, 10:20 AM
When inspecting the
valueParameters
of the
primaryConstructor
ot a
KtClass
in a ΛRROW Meta transformation, is it normal to find the
typeReference.name
to be
null
and to have to use
text
, instead, to find the type of the parameter (
Int
, in my case)?
r

raulraja

05/05/2020, 10:59 AM
yes, at that phase type reference may not be there since all that is before resolution and tyechecking. Quotes are just trees with text nodes and structured info that points to text but not real types
💯 1
m

melatonina

05/05/2020, 11:16 AM
Thanks. I suspected that could be the case, but since I'm new to this environment your explanation is very much appreciated.