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

8 lines
209 B
Kotlin

// "Suppress 'UNNECESSARY_NOT_NULL_ASSERTION' for statement " "true"
fun foo() {
[suppress("UNNECESSARY_NOT_NULL_ASSERTION")]
for (i in list()<caret>!!) {}
}
fun list(): List<Int> = throw Exception()