[FIR] fix contract violation from meta annotations
^KT-60448 Fixed
This commit is contained in:
committed by
Space Team
parent
480c794444
commit
7620289f6f
@@ -0,0 +1,9 @@
|
||||
// FIR_IDENTICAL
|
||||
// WITH_STDLIB
|
||||
annotation class AllOpen
|
||||
|
||||
@AllOpen
|
||||
class Test {
|
||||
@JvmName("g")
|
||||
private fun f() {}
|
||||
}
|
||||
Generated
+6
@@ -30,6 +30,12 @@ public class DiagnosticTestForAllOpenBaseGenerated extends AbstractDiagnosticTes
|
||||
runTest("plugins/allopen/testData/diagnostics/kt54260.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt60448.kt")
|
||||
public void testKt60448() throws Exception {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt60448.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast.kt")
|
||||
public void testSmartcast() throws Exception {
|
||||
|
||||
+6
@@ -30,6 +30,12 @@ public class FirLightTreeDiagnosticTestForAllOpenGenerated extends AbstractFirLi
|
||||
runTest("plugins/allopen/testData/diagnostics/kt54260.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt60448.kt")
|
||||
public void testKt60448() throws Exception {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt60448.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast.kt")
|
||||
public void testSmartcast() throws Exception {
|
||||
|
||||
Generated
+6
@@ -30,6 +30,12 @@ public class FirPsiDiagnosticTestForAllOpenGenerated extends AbstractFirPsiDiagn
|
||||
runTest("plugins/allopen/testData/diagnostics/kt54260.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt60448.kt")
|
||||
public void testKt60448() throws Exception {
|
||||
runTest("plugins/allopen/testData/diagnostics/kt60448.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartcast.kt")
|
||||
public void testSmartcast() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user