KT-37131 Record default arguments in argument adaptation
Also, don't adapt argument when expected type is base reflection type (KCallable<T>, etc), since such types don't contain parameter types.
This commit is contained in:
@@ -1378,6 +1378,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("funWithDefaultParametersAsKCallableStar.kt")
|
||||
public void testFunWithDefaultParametersAsKCallableStar() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/callableReferences/funWithDefaultParametersAsKCallableStar.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericMember.kt")
|
||||
public void testGenericMember() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/callableReferences/genericMember.kt");
|
||||
@@ -1388,6 +1393,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/expressions/callableReferences/importedFromObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt37131.kt")
|
||||
public void testKt37131() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/callableReferences/kt37131.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeArguments.kt")
|
||||
public void testTypeArguments() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/callableReferences/typeArguments.kt");
|
||||
|
||||
Reference in New Issue
Block a user