We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0912b0f commit b9e40bcCopy full SHA for b9e40bc
tests/run/sorted-sets-ok.scala
@@ -2,7 +2,7 @@ import scala.collection.SortedSet
2
import scala.collection.immutable.{SortedSet => ISortedSet}
3
import scala.collection.mutable.{SortedSet => MSortedSet}
4
5
-@main def test =
+@main def test(): Unit =
6
val s1: SortedSet[Int] = SortedSet(1, 2, 3)
7
println(s1)
8
val s2 = s1.filter(_ % 2 == 1)
0 commit comments