when passing `T!` as a argument to a function expe...
# announcements
k
when passing
T!
as a argument to a function expecting
T
, I get a pretty
IllegalStateException
with the offending expression in the message. However when I have an expression of type
T?
and I do
call(nullableFoo!!)
, I get a generic
KotlinNullPointerException
without message. Doesn't this kinda defeat the purpose?