https://kotlinlang.org logo
#announcements
Title
# announcements
m

mzgreen

07/15/2016, 8:03 AM
Copy code
fun <T> foo(param: Any): T? {
        return param as? T
    }
Why does the compiler warn about unchecked cast even if I use
as?
?