More receiver refactoring
This commit is contained in:
+1
-4
@@ -124,10 +124,7 @@ public class DataFlowValueFactory {
|
|||||||
@NotNull BindingContext bindingContext,
|
@NotNull BindingContext bindingContext,
|
||||||
@NotNull DeclarationDescriptor containingDeclarationOrModule
|
@NotNull DeclarationDescriptor containingDeclarationOrModule
|
||||||
) {
|
) {
|
||||||
if (receiverValue instanceof TransientReceiver ||
|
if (receiverValue instanceof TransientReceiver || receiverValue instanceof ImplicitReceiver) {
|
||||||
receiverValue instanceof ScriptReceiver ||
|
|
||||||
receiverValue instanceof ImplicitClassReceiver ||
|
|
||||||
receiverValue instanceof ExtensionReceiver) {
|
|
||||||
return createDataFlowValueForStableReceiver(receiverValue);
|
return createDataFlowValueForStableReceiver(receiverValue);
|
||||||
}
|
}
|
||||||
else if (receiverValue instanceof ExpressionReceiver) {
|
else if (receiverValue instanceof ExpressionReceiver) {
|
||||||
|
|||||||
Reference in New Issue
Block a user