Fix wrong inferred type argument in InlineCodegen::inlineCall
This commit is contained in:
committed by
teamcity
parent
20a8e5d742
commit
d4d45a8410
@@ -74,7 +74,7 @@ abstract class InlineCodegen<out T : BaseExpressionCodegen>(
|
||||
val infos = expandMaskConditionsAndUpdateVariableNodes(
|
||||
node, maskStartIndex, maskValues, methodHandleInDefaultMethodIndex,
|
||||
parameters.parameters.filter { it.functionalArgument === DefaultValueOfInlineParameter }
|
||||
.mapTo(mutableSetOf()) { parameters.getDeclarationSlot(it) }
|
||||
.mapTo<_, _, MutableCollection<Int>>(mutableSetOf()) { parameters.getDeclarationSlot(it) }
|
||||
)
|
||||
for (info in infos) {
|
||||
val lambda = DefaultLambda(info, sourceCompiler, node.name.substringBeforeLast("\$default"))
|
||||
|
||||
Reference in New Issue
Block a user