[FIR] Filter out SAM constructors from MemberScopeTowerLevel
This tower level is for calls on a dispatch receiver, and it's not allowed to call SAM constructors on a dispatch receiver. #KT-60983 Fixed
This commit is contained in:
committed by
Space Team
parent
576d8d1c10
commit
907ebb36d0
+6
@@ -29218,6 +29218,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/samConversions/kt50477.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt60983.kt")
|
||||
public void testKt60983() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/samConversions/kt60983.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("OverloadPriority.kt")
|
||||
public void testOverloadPriority() throws Exception {
|
||||
|
||||
+6
@@ -29218,6 +29218,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/samConversions/kt50477.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt60983.kt")
|
||||
public void testKt60983() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/samConversions/kt60983.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("OverloadPriority.kt")
|
||||
public void testOverloadPriority() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user