Prohibit protected method calls from inline function

#KT-21178 Fixed
This commit is contained in:
Mikhael Bogdanov
2019-11-29 13:27:57 +01:00
parent 8383274144
commit df96841c9d
11 changed files with 225 additions and 14 deletions
@@ -11312,9 +11312,14 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
runTest("compiler/testData/diagnostics/tests/inline/propagation.kt");
}
@TestMetadata("protectedDepecation.kt")
public void testProtectedDepecation() throws Exception {
runTest("compiler/testData/diagnostics/tests/inline/protectedDepecation.kt");
@TestMetadata("protectedCallDepecation.kt")
public void testProtectedCallDepecation() throws Exception {
runTest("compiler/testData/diagnostics/tests/inline/protectedCallDepecation.kt");
}
@TestMetadata("protectedCallError.kt")
public void testProtectedCallError() throws Exception {
runTest("compiler/testData/diagnostics/tests/inline/protectedCallError.kt");
}
@TestMetadata("publishedApi.kt")
@@ -11307,9 +11307,14 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
runTest("compiler/testData/diagnostics/tests/inline/propagation.kt");
}
@TestMetadata("protectedDepecation.kt")
public void testProtectedDepecation() throws Exception {
runTest("compiler/testData/diagnostics/tests/inline/protectedDepecation.kt");
@TestMetadata("protectedCallDepecation.kt")
public void testProtectedCallDepecation() throws Exception {
runTest("compiler/testData/diagnostics/tests/inline/protectedCallDepecation.kt");
}
@TestMetadata("protectedCallError.kt")
public void testProtectedCallError() throws Exception {
runTest("compiler/testData/diagnostics/tests/inline/protectedCallError.kt");
}
@TestMetadata("publishedApi.kt")