Files
kotlin-fork/js/js.translator/testData/trait/cases/example.kt
T
2015-09-22 15:00:24 +02:00

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))
}