Add test for KT-23992
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
interface Foo
|
||||||
|
|
||||||
|
annotation class Ann
|
||||||
|
|
||||||
|
class E : @field:<!DEBUG_INFO_MISSING_UNRESOLVED!>Ann<!> @get:<!DEBUG_INFO_MISSING_UNRESOLVED!>Ann<!> @set:<!DEBUG_INFO_MISSING_UNRESOLVED!>Ann<!> @setparam:<!DEBUG_INFO_MISSING_UNRESOLVED!>Ann<!> Foo
|
||||||
+21
@@ -0,0 +1,21 @@
|
|||||||
|
package
|
||||||
|
|
||||||
|
public final annotation class Ann : kotlin.Annotation {
|
||||||
|
public constructor Ann()
|
||||||
|
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||||
|
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||||
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
|
}
|
||||||
|
|
||||||
|
public final class E : Foo {
|
||||||
|
public constructor E()
|
||||||
|
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||||
|
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||||
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
|
}
|
||||||
|
|
||||||
|
public interface Foo {
|
||||||
|
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||||
|
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||||
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
|
}
|
||||||
@@ -1444,6 +1444,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
|||||||
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/GetterAnnotations.kt");
|
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/GetterAnnotations.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt23992.kt")
|
||||||
|
public void testKt23992() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt23992.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt26638.kt")
|
@TestMetadata("kt26638.kt")
|
||||||
public void testKt26638() throws Exception {
|
public void testKt26638() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt26638.kt");
|
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt26638.kt");
|
||||||
|
|||||||
Generated
+5
@@ -1439,6 +1439,11 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
|||||||
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/GetterAnnotations.kt");
|
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/GetterAnnotations.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@TestMetadata("kt23992.kt")
|
||||||
|
public void testKt23992() throws Exception {
|
||||||
|
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt23992.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@TestMetadata("kt26638.kt")
|
@TestMetadata("kt26638.kt")
|
||||||
public void testKt26638() throws Exception {
|
public void testKt26638() throws Exception {
|
||||||
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt26638.kt");
|
runTest("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/kt26638.kt");
|
||||||
|
|||||||
Reference in New Issue
Block a user