dimsuz
03/09/2023, 2:43 PMexpression.getType/getResolvedCall(bindingContext)
works, but in another, it returns null for some expressions, but resolves for others.
Do I understand correctly that I can only use it starting with a KtCallExpression
and down the hierarchy?
Resolving returns null in one place where I have KtNamedFunction
and then call function.valueArguments[0].getType(bindingContext)
.
It seems that there is no documentation from kotlin team on this, so I came to seek experts here š