VB
Size: a a a
VB
VB
VB
interface Foo{}
fun Any.toFoo(): Foo //1
fun List<Any>.toFoo(): List<Foo> // 2
....
listOf().toFoo() // IDE says it's 2, compiler says it's 1VB
AL
interface Foo{}
fun Any.toFoo(): Foo //1
fun List<Any>.toFoo(): List<Foo> // 2
....
listOf().toFoo() // IDE says it's 2, compiler says it's 1OY
interface Foo{}
fun Any.toFoo(): Foo //1
fun List<Any>.toFoo(): List<Foo> // 2
....
listOf().toFoo() // IDE says it's 2, compiler says it's 1VB
OY
fun List<Any?>.toFoo(): List<Foo> // 2DB
AL
VB
fun List<Any?>.toFoo(): List<Foo> // 2VB
OY
DB
VB
VB
VB
VB
VB
VB