diff options
author | Antonio Cunei <antonio.cunei@epfl.ch> | 2009-12-17 11:42:29 +0000 |
---|---|---|
committer | Antonio Cunei <antonio.cunei@epfl.ch> | 2009-12-17 11:42:29 +0000 |
commit | 15523efdef8eadbdd8d79358ff002ed3958ec41b (patch) | |
tree | d37334bd213e291a2a8191aa3acf477fb532ed0f /src/library | |
parent | 32b6bb14ea0a6044f07ce1799649c6950d13d2fa (diff) | |
download | scala-15523efdef8eadbdd8d79358ff002ed3958ec41b.tar.gz scala-15523efdef8eadbdd8d79358ff002ed3958ec41b.tar.bz2 scala-15523efdef8eadbdd8d79358ff002ed3958ec41b.zip |
Merged revisions 20172-20173,20175,20178 via sv...
Merged revisions 20172-20173,20175,20178 via svnmerge from
https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk
........
r20172 | extempore | 2009-12-16 18:37:27 +0100 (Wed, 16 Dec 2009) | 1 line
Catch expanded names before they are visible in completion. no review.
........ r20173 | extempore | 2009-12-16 20:25:26 +0100 (Wed, 16 Dec
2009) | 2 lines
REPL completion now understands type aliases defined in package
objects. For instance try scala.List.<tab>. review by community.
........ r20175 | odersky | 2009-12-17 12:03:57 +0100 (Thu, 17 Dec 2009)
| 1 line
hardening the compiler to avoid exceptions I observed when used under
Eclipse. ........ r20178 | cunei | 2009-12-17 12:16:58 +0100 (Thu, 17
Dec 2009) | 3 lines
Adding target distpack-opt.
Review by rytz.
........
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/collection/Iterator.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/Iterator.scala b/src/library/scala/collection/Iterator.scala index 07a2d55668..54a38848dd 100644 --- a/src/library/scala/collection/Iterator.scala +++ b/src/library/scala/collection/Iterator.scala @@ -1098,7 +1098,7 @@ trait Iterator[+A] { self => * @param dest The buffer to which elements are copied */ def copyToBuffer[B >: A](dest: Buffer[B]) { - while (hasNext) dest += next + while (hasNext) dest += next() } /** Traverses this iterator and returns all produced values in a list. |