Reflection: minor, fix obsolete comment
InlineAwareCaller has already been renamed.
This commit is contained in:
@@ -132,7 +132,7 @@ internal abstract class KCallableImpl<out R> : KCallable<R>, KTypeParameterOwner
|
||||
parameters.forEach { parameter ->
|
||||
if (parameter.isOptional && !parameter.type.isInlineClassType) {
|
||||
// For inline class types, the javaType refers to the underlying type of the inline class,
|
||||
// but we have to pass null in order to mark the argument as absent for InlineClassAwareCaller.
|
||||
// but we have to pass null in order to mark the argument as absent for ValueClassAwareCaller.
|
||||
arguments[parameter.index] = defaultPrimitiveValue(parameter.type.javaType)
|
||||
} else if (parameter.isVararg) {
|
||||
arguments[parameter.index] = defaultEmptyArray(parameter.type)
|
||||
|
||||
Reference in New Issue
Block a user