blob: 593714e2fd97a1d4813a39be73ee382f402953a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
object Test extends dotty.runtime.LegacyApp{
import scala.collection.immutable.IntMap;
val it = IntMap(8 -> 2, 11 -> 3, 1 -> 2, 7 -> 13);
assert(it.firstKey == 1);
assert(it.lastKey == 11);
}
|