I'm searching for insight on how BindingContext works. In one of my rules, `expression.getType/getRe...
d
I'm searching for insight on how BindingContext works. In one of my rules,
expression.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 🙂