KT-34509 Properly unwrap callable reference descriptor

NB there's a problem with callable references to SAM constructors,
see also KT-16789
This commit is contained in:
Dmitry Petrov
2019-10-21 16:01:33 +03:00
parent 7dde503697
commit eebb071ae9
6 changed files with 187 additions and 7 deletions
@@ -1212,6 +1212,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
runTest("compiler/testData/ir/irText/expressions/tryCatchWithImplicitCast.kt");
}
@TestMetadata("typeAliasConstructorReference.kt")
public void testTypeAliasConstructorReference() throws Exception {
runTest("compiler/testData/ir/irText/expressions/typeAliasConstructorReference.kt");
}
@TestMetadata("typeArguments.kt")
public void testTypeArguments() throws Exception {
runTest("compiler/testData/ir/irText/expressions/typeArguments.kt");