Files
Nikita Bobko 2b65e4e0c7 fixup! Improve remove.use.site.get.target wording
GitOrigin-RevId: 298e085889e8414432d7cf721ad79898f8a01d58
2023-06-01 13:41:26 +00:00

9 lines
435 B
Kotlin

// "Remove 'get:' to make the annotation effective. (changes semantics. See: https://youtrack.jetbrains.com/issue/KT-48141)" "false"
// ERROR: '@set:' annotations could be applied only to property declarations
// ERROR: This annotation is not applicable to target 'getter' and use site target '@set'
// WITH_STDLIB
class Foo {
private var bar = 0
<caret>@set/*comment*/:Deprecated("", level = DeprecationLevel.ERROR) get
}