JVM_IR: fix type arguments in inline callable references

This commit is contained in:
Georgy Bronnikov
2019-12-31 17:11:04 +03:00
parent a67df82b1e
commit d81231fdf7
@@ -172,9 +172,9 @@ internal class InlineCallableReferenceToLambdaPhase(val context: JvmBackendConte
+IrFunctionReferenceImpl(
expression.startOffset,
expression.endOffset,
referencedFunction.returnType,
function.returnType,
function.symbol,
referencedFunction.typeParameters.size,
function.typeParameters.size,
IrStatementOrigin.LAMBDA
).apply {
copyAttributes(expression)