blob: bc51545847a7a1a5f40358a1ca926b5e8674553d [file] [log] [blame]
compiler/testData/cli/jvm/annotationDefaultTarget.kt:3:104: warning: this annotation is currently applied to the value parameter only, but in the future it will also be applied to property.
- To opt in to applying to both value parameter and property, add '-Xannotation-default-target=param-property' to your compiler arguments.
- To keep applying to the value parameter only, use the '@param:' annotation target.
See https://youtrack.jetbrains.com/issue/KT-73255 for more details.
class My(@Deprecated(message = "Please don't use this bad callable", level = DeprecationLevel.WARNING) @Simple val x: String)
^^^^^^^
compiler/testData/cli/jvm/annotationDefaultTarget.kt:7:8: warning: 'val x: String' is deprecated. Please don't use this bad callable.
my.x
^
OK