Fix callable reference to inline class constructor generation
This commit is contained in:
+1
-1
@@ -190,7 +190,7 @@ public class FunctionReferenceGenerationStrategy extends FunctionGenerationStrat
|
||||
}
|
||||
else {
|
||||
//noinspection ConstantConditions
|
||||
Type constructedType = codegen.typeMapper.mapTypeAsDeclaration(referencedFunction.getReturnType());
|
||||
Type constructedType = codegen.typeMapper.mapType(referencedFunction.getReturnType());
|
||||
result = codegen.generateConstructorCall(fakeResolvedCall, constructedType);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user