JVM_IR: correct RetentionPolicy annotation generation
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
package test;
|
||||
|
||||
@Runtime @Source
|
||||
class Test {}
|
||||
@@ -0,0 +1,7 @@
|
||||
package test
|
||||
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
annotation class Runtime
|
||||
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class Source
|
||||
@@ -0,0 +1,13 @@
|
||||
package test
|
||||
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.RUNTIME) public final annotation class Runtime : kotlin.Annotation {
|
||||
public constructor Runtime()
|
||||
}
|
||||
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.SOURCE) public final annotation class Source : kotlin.Annotation {
|
||||
public constructor Source()
|
||||
}
|
||||
|
||||
@test.Runtime public/*package*/ open class Test {
|
||||
public/*package*/ constructor Test()
|
||||
}
|
||||
Reference in New Issue
Block a user