FIR: fix API mode checker for local functions

This commit is contained in:
Tianyu Geng
2021-10-21 14:53:54 -07:00
committed by Mikhail Glukhikh
parent 31b7248769
commit a969e5af50
9 changed files with 55 additions and 5 deletions
@@ -30261,6 +30261,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/testsWithExplicitApi/interfaces.kt");
}
@Test
@TestMetadata("localFunctions.kt")
public void testLocalFunctions() throws Exception {
runTest("compiler/testData/diagnostics/tests/testsWithExplicitApi/localFunctions.kt");
}
@Test
@TestMetadata("mustBeEffectivelyPublic.kt")
public void testMustBeEffectivelyPublic() throws Exception {