Prohibit protected method calls from inline function
#KT-21178 Fixed
This commit is contained in:
+8
-3
@@ -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")
|
||||
|
||||
Generated
+8
-3
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user