Files
Frederik Haselmeier 049845a50f [Kotlin] Fixed test errors in K1QuickFixTestGenerated caused by JPS upgrade to Kotlin 2.0.0
KTIJ-30704

(cherry picked from commit 83e6e0ed408077d7ea94f840ca20f80c1c7c413b)

GitOrigin-RevId: 0aecb9ad289bfb120ab903ce85292a2e120d14e5
2024-09-30 12:16:31 +00:00

11 lines
441 B
Kotlin

// "Remove annotation, since it has no effect. See https://youtrack.jetbrains.com/issue/KT-48141" "false"
// IGNORE_K2
// ACTION: Create test
// ACTION: Make internal
// ACTION: Make private
// WITH_STDLIB
// ERROR: '@get:' annotations could be applied only to property declarations
// ERROR: This annotation is not applicable to target 'class' and use site target '@get'
<caret>@get:Deprecated("", level = DeprecationLevel.ERROR)
class Foo