diff options
Diffstat (limited to 'test/files/run/breakout.scala')
-rw-r--r-- | test/files/run/breakout.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/breakout.scala b/test/files/run/breakout.scala index 01ea08846e..8081405bd1 100644 --- a/test/files/run/breakout.scala +++ b/test/files/run/breakout.scala @@ -2,8 +2,8 @@ import scala.collection.generic._ import scala.collection._ import scala.collection.mutable._ -object Test extends Application { +object Test extends App { val l = List(1, 2, 3) val a: Array[Int] = l.map(_ + 1)(breakOut) println(a.mkString(", ")) -}
\ No newline at end of file +} |