Files
kotlin-fork/idea/testData/quickfix/suppress/forStatement/afterWhenExpressionEntry.kt
T
Andrey Breslav fc70a65f99 Support 'suppress for statement' quick fix
#KT-3319 Fixed
2013-09-24 07:05:20 -07:00

8 lines
185 B
Kotlin

// "Suppress 'UNNECESSARY_NOT_NULL_ASSERTION' for statement " "true"
fun foo(a: Any) {
[suppress("UNNECESSARY_NOT_NULL_ASSERTION")]
when (a) {
""<caret>!! -> {}
}
}