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/neg/bug414.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/neg/bug414.scala')
-rw-r--r-- | test/files/neg/bug414.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/bug414.scala b/test/files/neg/bug414.scala index 3dff7f7b36..7983fe88b9 100644 --- a/test/files/neg/bug414.scala +++ b/test/files/neg/bug414.scala @@ -1,7 +1,7 @@ case class Empty[a] extends IntMap[a]; -case class Node[a](left: IntMap[a], keyVal: Pair[int, a], right: IntMap[a]) extends IntMap[a]; +case class Node[a](left: IntMap[a], keyVal: Pair[Int, a], right: IntMap[a]) extends IntMap[a]; abstract class IntMap[a] { - def lookup(key: int): a = this match { + def lookup(key: Int): a = this match { case Empty => error("clef inexistante") case _ => |