Use the compiler to check if some APIs need to be optimized
Opened this issue · 0 comments
chachako commented
Example:
val list = listOf(...)
// List<*> instance never be Array<*>
list.cast<Array<*>>()
list.castOrNull<Array<*>>()
Opened this issue · 0 comments
Example:
val list = listOf(...)
// List<*> instance never be Array<*>
list.cast<Array<*>>()
list.castOrNull<Array<*>>()