compiler testdata: s/trait/interface

This commit is contained in:
Dmitry Jemerov
2015-05-12 12:38:49 +02:00
parent a5ed5d4269
commit 4bdf598bfe
803 changed files with 1456 additions and 1456 deletions
@@ -1,8 +1,8 @@
trait AL {
interface AL {
fun get(index: Int) : Any? = null
}
trait ALE<T> : AL {
interface ALE<T> : AL {
fun getOrNull(index: Int, value: T) : T {
val r = get(index) as? T
return r ?: value