blob: 87dc870afc246db399a5a7b6e1821ad6e252b6ef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import scala.language.{ postfixOps }
object Test {
def main(args: Array[String]) {
val x = 1 to 10 toSet
val y = x + 5
val z = y - 154321
assert(x eq y)
assert(x eq z)
}
}
|