KT-2109 Nullability inference fails in extension function
#KT-2109 Fixed
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ public class DataFlowValueFactory {
|
||||
@NotNull
|
||||
public DataFlowValue createDataFlowValue(@NotNull ThisReceiverDescriptor receiver) {
|
||||
JetType type = receiver.getType();
|
||||
return new DataFlowValue(receiver.getDeclarationDescriptor(), type, true, getImmanentNullability(type));
|
||||
return new DataFlowValue(receiver, type, true, getImmanentNullability(type));
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user