2ecba6ac39
This directive anyway does not make test run twice with OI, and with NI It only once run the test with specific settings (// LANGUAGE) and ignores irrelevant (OI or NI tags)
11 lines
216 B
Kotlin
Vendored
11 lines
216 B
Kotlin
Vendored
class ExplicitAccessorForAnnotation {
|
|
val tt: String? = "good"
|
|
get
|
|
|
|
fun foo(): String {
|
|
if (tt is String) {
|
|
return <!SMARTCAST_IMPOSSIBLE!>tt<!>
|
|
}
|
|
return ""
|
|
}
|
|
} |