FIR IDE: add more tests about annotation resolution

This commit is contained in:
Jinseong Jeon
2021-09-24 11:35:02 -07:00
committed by TeamCityServer
parent e95313acbb
commit 464eecef03
32 changed files with 205 additions and 0 deletions
@@ -0,0 +1,7 @@
fun annotatedSwitch(str: String) =
when {
<expr>@Suppress("DEPRECATION")</expr>
str.isBlank() -> null
str.isNotEmpty() != null -> null
else -> 1
}