[Analysis API] Add type to KtReceiverValue
Maybe in the future we could remove type from the KtImplicitReceiverValue, because it has ktSymbol, and in theory that should be enough to create corresponding KtType. Unfortunately that is not the case for KtClassOrObjectSymbol -- it doesn't have the API for "default" type creation currently. Regarding code in KtFirCallResolver.kt -- it seems like code there needs some love in the future. Psi created via custom code there, because for call x() FIR has receiver x with psi = null
This commit is contained in:
committed by
teamcity
parent
409d959816
commit
8d8fc6e291
+1
@@ -5,6 +5,7 @@ KtSuccessCallInfo:
|
||||
dispatchReceiver = KtExplicitReceiverValue:
|
||||
expression = javaClass
|
||||
isSafeNavigation = false
|
||||
type = JavaClass
|
||||
extensionReceiver = null
|
||||
signature = KtFunctionLikeSignature:
|
||||
receiverType = null
|
||||
|
||||
Reference in New Issue
Block a user