Fix accessibility check for experimental declarations from default scope

#KT-40919 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2020-08-07 14:04:10 +03:00
parent b403b63f48
commit 0c13a7f89a
12 changed files with 73 additions and 7 deletions
@@ -720,6 +720,21 @@ public class CliTestGenerated extends AbstractCliTest {
runTest("compiler/testData/cli/jvm/unknownExtraFlags.args");
}
@TestMetadata("useDeclarationThatWasExperimentalWithoutExplicitImport.args")
public void testUseDeclarationThatWasExperimentalWithoutExplicitImport() throws Exception {
runTest("compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImport.args");
}
@TestMetadata("useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args")
public void testUseDeclarationThatWasExperimentalWithoutExplicitImportCommandLine() throws Exception {
runTest("compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutExplicitImportCommandLine.args");
}
@TestMetadata("useDeclarationThatWasExperimentalWithoutMarker.args")
public void testUseDeclarationThatWasExperimentalWithoutMarker() throws Exception {
runTest("compiler/testData/cli/jvm/useDeclarationThatWasExperimentalWithoutMarker.args");
}
@TestMetadata("useMixedNamedArgumentsFlag.args")
public void testUseMixedNamedArgumentsFlag() throws Exception {
runTest("compiler/testData/cli/jvm/useMixedNamedArgumentsFlag.args");