Files
kotlin-fork/idea/testData/quickfix/deprecatedJavaAnnotation/withArgument.kt.after
T

8 lines
302 B
Plaintext
Vendored

// "Replace annotation with kotlin.annotation.Retention" "true"
// ERROR: Type mismatch: inferred type is RetentionPolicy but AnnotationRetention was expected
import java.lang.annotation.RetentionPolicy
import kotlin.annotation.Retention
@Retention<caret>(RetentionPolicy.SOURCE)
annotation class Foo