mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
9 lines
435 B
Kotlin
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
|
|
}
|