Kotlin smart-cast assumes too much?

前端 未结 0 582
迷失自我
迷失自我 2021-01-29 06:41

I was reading here: https://kotlinlang.org/docs/reference/typecasts.html#type-erasure-and-generic-type-checks

When I came upon this:

fun handleStrings(list         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题