Egor K.
06/18/2024, 11:12 AMisEnum
, but it returned null.
override fun visitDotQualifiedExpression(expression: KtDotQualifiedExpression) {
super.visitDotQualifiedExpression(expression)
val receiverKotlinTypeInfo: KotlinTypeInfo? = bindingContext[BindingContext.EXPRESSION_TYPE_INFO, expression]
// but receiverKotlinTypeInfo is null, so
val receiverKotlinType: KotlinType? = receiverKotlinTypeInfo?.type
// is also null: receiverKotlinType == null
}
bindingContext[BindingContext.EXPRESSION_TYPE_INFO, expression]
is null, but the expression is correct.
In the logs, I got this: receiverExpression.text = TestEnum.TEST2
- and it is my test enum with a child.Egor K.
06/18/2024, 11:12 AM