blob: 455218d2c93d7d81b0f53bb8c1cbd5a75476aa8b (
plain) (
tree)
|
|
object Test extends dotty.runtime.LegacyApp {
val empty = IndexedSeq()
assert(empty.isEmpty)
val single = IndexedSeq(1)
assert(List(1) == single.toList)
val two = IndexedSeq("a", "b")
assert("a" == two.head)
assert("b" == two.apply(1))
println("OK")
}
// vim: set ts=2 sw=2 et:
|