13 lines
182 B
Kotlin
Vendored
13 lines
182 B
Kotlin
Vendored
package foo
|
|
|
|
interface AL {
|
|
fun get(index: Int): Any? = null
|
|
}
|
|
|
|
class SmartArrayList() : AL {
|
|
}
|
|
|
|
fun box(): Boolean {
|
|
val c = SmartArrayList()
|
|
return (null == c.get(0))
|
|
} |