Rename: this object, receiver argument -> dispatch receiver, extension receiver
This commit is contained in:
@@ -357,7 +357,7 @@ class KModel(val context: BindingContext, val config: KDocConfig, val sourceDirs
|
||||
val name = descriptor.getName().asString()
|
||||
val returnType = getType(descriptor.getReturnType())
|
||||
if (returnType != null) {
|
||||
val receiver = descriptor.getReceiverParameter()
|
||||
val receiver = descriptor.getExtensionReceiverParameter()
|
||||
val extensionClass = if (receiver != null) {
|
||||
getType(receiver.getType())
|
||||
} else null
|
||||
@@ -394,7 +394,7 @@ class KModel(val context: BindingContext, val config: KDocConfig, val sourceDirs
|
||||
val function = KFunction(descriptor, owner, name, returnType, parameters)
|
||||
addTypeParameters(function.typeParameters, descriptor.getTypeParameters())
|
||||
configureComments(function, descriptor)
|
||||
val receiver = descriptor.getReceiverParameter()
|
||||
val receiver = descriptor.getExtensionReceiverParameter()
|
||||
if (receiver != null) {
|
||||
val receiverType = getType(receiver.getType())
|
||||
function.receiverType = receiverType
|
||||
|
||||
Reference in New Issue
Block a user