[FIR] Don't crash on complex expression as annotation argument if metadata compilation is used

^KT-58139 Fixed
This commit is contained in:
Ivan Kochurkin
2023-05-29 21:59:53 +02:00
committed by Space Team
parent abdb173f6c
commit 2251214d24
7 changed files with 49 additions and 1 deletions
@@ -1599,6 +1599,11 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/metadata/kotlinPackageWithFir.args");
}
@TestMetadata("kt58139.args")
public void testKt58139() throws Exception {
runTest("compiler/testData/cli/metadata/kt58139.args");
}
@TestMetadata("lambdaWithReceiver.args")
public void testLambdaWithReceiver() throws Exception {
runTest("compiler/testData/cli/metadata/lambdaWithReceiver.args");