diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2008-05-09 12:53:13 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2008-05-09 12:53:13 +0000 |
commit | faeeb4f264534e7f39b0a8f7c87226069717b43d (patch) | |
tree | 5a3697c1ab66866b4e92ba55451f113f007d1c9f | |
parent | 53bce94d3040045df12a79cd80c03653ee81174f (diff) | |
download | scala-faeeb4f264534e7f39b0a8f7c87226069717b43d.tar.gz scala-faeeb4f264534e7f39b0a8f7c87226069717b43d.tar.bz2 scala-faeeb4f264534e7f39b0a8f7c87226069717b43d.zip |
Fixed #863.
-rw-r--r-- | src/library/scala/Seq.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Seq.scala b/src/library/scala/Seq.scala index 14001d1b0a..b49b24ebe8 100644 --- a/src/library/scala/Seq.scala +++ b/src/library/scala/Seq.scala @@ -168,7 +168,7 @@ trait Seq[+A] extends AnyRef with PartialFunction[Int, A] with Collection[A] { /** Returns the last element of this list. * * @return the last element of the list. - * @throws Predef.UnsupportedOperationException if the list is empty. + * @throws Predef.NoSuchElementException if the list is empty. */ def last: A = length match { case 0 => throw new Predef.NoSuchElementException |