Files
kotlin-fork/analysis/symbol-light-classes/testData/annotationsEquality/TopLevelFunctionWithDeprecatedAnnotation.kt
T
Dmitrii Gridin 3b9318bd3a [SLC] LazyAnnotationsBox: drop redundant synchronization
We can use less strict rule for produced annotations:
* Previously: the same annotations from `findAnnotation` and `annotations`
have the same identity
* Now: the same annotations from `findAnnotation` and `annotations`
are equals by 'equals'

^KT-56046
2023-02-03 19:49:03 +00:00

13 lines
287 B
Kotlin
Vendored

// PSI: org.jetbrains.kotlin.light.classes.symbol.methods.SymbolLightSimpleMethod
// EXPECTED: kotlin.Deprecated
// UNEXPECTED: kotlin.jvm.JvmRecord
// EXPECTED: one.Anno
// UNEXPECTED: one.Anno2
package one
annotation class Anno
@Deprecated("") @Anno
fun regul<caret>arFunction() {}