Commit delegation expression's trace with errors if we couldn't extract type info for it
^KT-44843 Fixed
This commit is contained in:
@@ -560,7 +560,11 @@ class DelegatedPropertyResolver(
|
||||
traceToResolveDelegatedProperty, false, delegateExpression, ContextDependency.DEPENDENT
|
||||
)
|
||||
|
||||
var delegateType = delegateTypeInfo.type ?: return null
|
||||
var delegateType = delegateTypeInfo.type ?: run {
|
||||
traceToResolveDelegatedProperty.commit()
|
||||
return null
|
||||
}
|
||||
|
||||
var delegateDataFlow = delegateTypeInfo.dataFlowInfo
|
||||
|
||||
val delegateTypeConstructor = delegateType.constructor
|
||||
|
||||
Reference in New Issue
Block a user