Allow open callable members in expect interfaces
#KT-42094 fixed
This commit is contained in:
committed by
Sebastian Sellmair
parent
bf0156f7c6
commit
06cb64bb51
@@ -14563,6 +14563,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/NoLocalVisibility.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("openInExpectInterface.kt")
|
||||
public void testOpenInExpectInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/openInExpectInterface.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("openInInterface.kt")
|
||||
public void testOpenInInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/openInInterface.kt");
|
||||
@@ -15022,6 +15027,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform"), Pattern.compile("^(.*)\\.kts?$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("expectInterfaceApplicability.kt")
|
||||
public void testExpectInterfaceApplicability() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/expectInterfaceApplicability.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("headerFunInNonHeaderClass.kt")
|
||||
public void testHeaderFunInNonHeaderClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/headerFunInNonHeaderClass.kt");
|
||||
|
||||
Generated
+10
@@ -14558,6 +14558,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/NoLocalVisibility.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("openInExpectInterface.kt")
|
||||
public void testOpenInExpectInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/openInExpectInterface.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("openInInterface.kt")
|
||||
public void testOpenInInterface() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/modifiers/openInInterface.kt");
|
||||
@@ -15017,6 +15022,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.fir\\.kts?$"), true);
|
||||
}
|
||||
|
||||
@TestMetadata("expectInterfaceApplicability.kt")
|
||||
public void testExpectInterfaceApplicability() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/expectInterfaceApplicability.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("headerFunInNonHeaderClass.kt")
|
||||
public void testHeaderFunInNonHeaderClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/headerFunInNonHeaderClass.kt");
|
||||
|
||||
Reference in New Issue
Block a user