summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/IterableViewLike.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-05-01 18:15:49 +0000
committerPaul Phillips <paulp@improving.org>2011-05-01 18:15:49 +0000
commitf82acf5d370111cb96f39332c28177f186a88f10 (patch)
tree92b5241f2e01519e5fe26c3b525d8de960793743 /src/library/scala/collection/IterableViewLike.scala
parent445ade0bbd17d8d9336d96fe3804c64e233e8b89 (diff)
downloadscala-f82acf5d370111cb96f39332c28177f186a88f10.tar.gz
scala-f82acf5d370111cb96f39332c28177f186a88f10.tar.bz2
scala-f82acf5d370111cb96f39332c28177f186a88f10.zip
Reducing the sbt launcher footprint by eliminat...
Reducing the sbt launcher footprint by eliminating val references which go through the scala package object, since they lead to otherwise unnecessary classes becoming required at startup. Mostly this means library files with constructors like "Iterator.empty" or "Stream.continually" receive a direct import of that companion. The one slightly less than cosmetic change was moving the strange xml value "$scope" back into Predef, because otherwise I have to touch the xml code generation. No review.
Diffstat (limited to 'src/library/scala/collection/IterableViewLike.scala')
-rw-r--r--src/library/scala/collection/IterableViewLike.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library/scala/collection/IterableViewLike.scala b/src/library/scala/collection/IterableViewLike.scala
index e0f1ada2b8..70f4519204 100644
--- a/src/library/scala/collection/IterableViewLike.scala
+++ b/src/library/scala/collection/IterableViewLike.scala
@@ -10,6 +10,7 @@ package scala.collection
import generic._
import TraversableView.NoBuilder
+import immutable.Stream
/** A template trait for non-strict views of iterable collections.
* $iterableViewInfo