diff options
author | Simon Ochsenreither <simon@ochsenreither.de> | 2015-03-26 03:18:57 +0100 |
---|---|---|
committer | Simon Ochsenreither <simon@ochsenreither.de> | 2015-03-26 03:18:57 +0100 |
commit | 226c4df186150d7773fa7cd9ad68a66759d78389 (patch) | |
tree | d6a915da8ac3e893cd7be4a9d0a727117f1fcd57 | |
parent | 4783a25d3068c2f756b8517b69a95b5d77d24654 (diff) | |
download | scala-226c4df186150d7773fa7cd9ad68a66759d78389.tar.gz scala-226c4df186150d7773fa7cd9ad68a66759d78389.tar.bz2 scala-226c4df186150d7773fa7cd9ad68a66759d78389.zip |
SI-9174 Try extends Product with Serializable
-rw-r--r-- | src/library/scala/util/Try.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/util/Try.scala b/src/library/scala/util/Try.scala index f08cc18f7d..1e6ae6c591 100644 --- a/src/library/scala/util/Try.scala +++ b/src/library/scala/util/Try.scala @@ -60,7 +60,7 @@ import scala.language.implicitConversions * @author based on Twitter's original implementation in com.twitter.util. * @since 2.10 */ -sealed abstract class Try[+T] { +sealed abstract class Try[+T] extends Product with Serializable { /** Returns `true` if the `Try` is a `Failure`, `false` otherwise. */ |