Files
kotlin-fork/compiler/testData/diagnostics/tests/deparenthesize/annotatedSafeCall.kt
T

8 lines
182 B
Kotlin
Vendored

// FIR_IDENTICAL
@Target(AnnotationTarget.EXPRESSION)
@Retention(AnnotationRetention.SOURCE)
annotation class foo
fun f(s : String?) : Boolean {
return (@foo s?.equals("a"))!!
}