Transform VisibilityError diagnostic for callable references to further report it on the corresponding argument of a base call

^KT-46437 Fixed
This commit is contained in:
Victor Petukhov
2021-10-04 19:45:20 +03:00
parent e34b2d1850
commit 02d06b6390
10 changed files with 76 additions and 0 deletions
@@ -2747,6 +2747,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/callableReference/kt37530.kt");
}
@Test
@TestMetadata("kt46437.kt")
public void testKt46437() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/kt46437.kt");
}
@Test
@TestMetadata("kt49038.kt")
public void testKt49038() throws Exception {