<@U092308M7> commented on <@U2VN6USRH>’s file <htt...
# announcements
u
@orangy commented on @dpoetzsch’s file https://kotlinlang.slack.com/files/U2VN6USRH/F5F25EU1G/-.kt: You need to give compiler more information about
T
, and that’s like this:
Copy code
inline fun <reified T> f(x: Any?): T? = x as? T