Fix for KT-6990: inline reified doesn't inline call in some cases
#KT-6990 Fixed
This commit is contained in:
@@ -354,6 +354,10 @@ public class InlineCodegen extends CallGenerator {
|
||||
parentCodegen
|
||||
);
|
||||
|
||||
if (isLambda) {
|
||||
codegen.propagateChildReifiedTypeParametersUsages(parentCodegen.getReifiedTypeParametersUsages());
|
||||
}
|
||||
|
||||
return createSMAPWithDefaultMapping(expression, parentCodegen.getOrCreateSourceMapper().getResultMappings());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user