blob: 62ed504d20ab39e01f4b777948356bcb9b617415 [file]
warning: the argument '-Xannotation-default-target=first-only-warn' is redundant for the current language version 2.4.
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