diff options
author | Paul Phillips <paulp@improving.org> | 2010-09-16 04:34:21 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-09-16 04:34:21 +0000 |
commit | 18a4de80a9f73b279528262e51f530d879efd5d9 (patch) | |
tree | b6185c6458a0ed54a8ef4612e7b3ee139fb1c485 /test/files | |
parent | 81226c622338a743e88e102c118016721f64e56f (diff) | |
download | scala-18a4de80a9f73b279528262e51f530d879efd5d9.tar.gz scala-18a4de80a9f73b279528262e51f530d879efd5d9.tar.bz2 scala-18a4de80a9f73b279528262e51f530d879efd5d9.zip |
Overrode addString in TraversableViewLike.
the Transform-derived traits within view resisted evaluating the entire
sequence on a toString call, but the original view returned from a call
to .view did not. This has a particularly bad result in the case of
Stream, as for instance:
Stream from 1 view
would enter infiniteloopiland in the repl despite the fact that it
should be doubly resistant to eager evaluation.
Review by prokopec.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/t2074_2.check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t2074_2.check b/test/files/run/t2074_2.check index e4fc89b1ce..0876ef7d03 100644 --- a/test/files/run/t2074_2.check +++ b/test/files/run/t2074_2.check @@ -1,3 +1,3 @@ -SeqView(1, 2, 3) -SeqView(1, 2, 3) +SeqView(...) +SeqView(...) SeqViewZ(...) |