> Right I should have clarified that I meant “f...
# javascript
s
Right I should have clarified that I meant “for primitive types”.
This will fail with ICE too:
Copy code
val x = 1
    val y = x as Boolean
    println(y)