Also something else, im getting a very strange exc...
# announcements
j
Also something else, im getting a very strange exception
Copy code
fun main(args: Array<String>) {
    val a = listOf(10u, 20u, 30u)
    a.forEachIndexed { index, uInt ->
        println(index)
        println(uInt)
    }
}
Gives
Copy code
Exception in thread "main" java.lang.ClassCastException: kotlin.UInt cannot be cast to java.lang.Number
	at io.codehop.c8.MainKt.main(main.kt:21)