blob: dedca1a8f9cfe9dcbc7c2fefc170e4a7e6d0e701 [file] [log] [blame]
// WITH_RUNTIME
fun fn(index : Int, list: List<()->Unit>) {
when {
index in list.indices -> <selection>list[index]</selection>()
}
}