Minor: use right type for null literal
(cherry picked from commit 88c824b)
This commit is contained in:
committed by
Dmitry Petrov
parent
56bf1f895c
commit
068859eece
+1
-1
@@ -312,7 +312,7 @@ class DefaultParameterInjector constructor(val context: CommonBackendContext, pr
|
|||||||
)
|
)
|
||||||
} else if (context.ir.shouldGenerateHandlerParameterForDefaultBodyFun()) {
|
} else if (context.ir.shouldGenerateHandlerParameterForDefaultBodyFun()) {
|
||||||
params += realDescriptor.valueParameters.last() to
|
params += realDescriptor.valueParameters.last() to
|
||||||
IrConstImpl.constNull(irBody.startOffset, irBody.endOffset, context.irBuiltIns.anyType)
|
IrConstImpl.constNull(irBody.startOffset, irBody.endOffset, context.irBuiltIns.nothingNType)
|
||||||
}
|
}
|
||||||
params.forEach {
|
params.forEach {
|
||||||
log { "descriptor::${realDescriptor.name.asString()}#${it.first.index}: ${it.first.name.asString()}" }
|
log { "descriptor::${realDescriptor.name.asString()}#${it.first.index}: ${it.first.name.asString()}" }
|
||||||
|
|||||||
Reference in New Issue
Block a user