Prohibit using DeprecatedSinceKotlin outside kotlin subpackage

This commit is contained in:
Mikhail Zarechenskiy
2020-06-18 18:26:49 +03:00
parent 790433984b
commit a2da00eb49
33 changed files with 168 additions and 72 deletions
@@ -6667,6 +6667,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinDeclaration.kt");
}
@TestMetadata("deprecatedSinceKotlinOutsideKotlinPackage.kt")
public void testDeprecatedSinceKotlinOutsideKotlinPackage() throws Exception {
runTest("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinOutsideKotlinPackage.kt");
}
@TestMetadata("deprecatedSinceKotlinWithoutArguments.kt")
public void testDeprecatedSinceKotlinWithoutArguments() throws Exception {
runTest("compiler/testData/diagnostics/tests/deprecated/deprecatedSinceKotlin/deprecatedSinceKotlinWithoutArguments.kt");