diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-08-12 14:39:55 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-08-12 14:39:55 +0000 |
commit | d27e89c0bc0ee1775eae09238319c44e85a44d5d (patch) | |
tree | e2f81270d39cadcbe30949757cddf4e7af8ddb42 /test/files/pos/bug796.scala | |
parent | fe4591ba0c8d727ee563ba4752a86db5d220ec76 (diff) | |
download | scala-d27e89c0bc0ee1775eae09238319c44e85a44d5d.tar.gz scala-d27e89c0bc0ee1775eae09238319c44e85a44d5d.tar.bz2 scala-d27e89c0bc0ee1775eae09238319c44e85a44d5d.zip |
Fixing more deprecation warnings.
Diffstat (limited to 'test/files/pos/bug796.scala')
-rw-r--r-- | test/files/pos/bug796.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/bug796.scala b/test/files/pos/bug796.scala index dfd312ec67..2e57f60502 100644 --- a/test/files/pos/bug796.scala +++ b/test/files/pos/bug796.scala @@ -10,7 +10,7 @@ object Test extends Application { object Twice { def apply(x: Int) = x * 2 - def unapply(x: Int): Option[Tuple1[int]] = + def unapply(x: Int): Option[Tuple1[Int]] = if (x % 2 == 0) Some(Tuple1(x / 2)) else None } |