Files
kotlin-fork/js/js.translator/testData/trait/cases/example.kt
T
2014-03-11 20:04:00 +04:00

13 lines
178 B
Kotlin

package foo
trait AL {
fun get(index: Int): Any? = null
}
class SmartArrayList() : AL {
}
fun box(): Boolean {
val c = SmartArrayList()
return (null == c.get(0))
}