summaryrefslogtreecommitdiff
path: root/test/files/run/map_test.scala
diff options
context:
space:
mode:
authorstenman <stenman@epfl.ch>2003-12-01 15:05:34 +0000
committerstenman <stenman@epfl.ch>2003-12-01 15:05:34 +0000
commitc926654a82a48df1cde58f288762976a942ce309 (patch)
tree315d2ce79efef83c6a0a80443038318017508504 /test/files/run/map_test.scala
parent6c9deb38e10d9afffa4b6ce5ebb851803b69fb3a (diff)
downloadscala-c926654a82a48df1cde58f288762976a942ce309.tar.gz
scala-c926654a82a48df1cde58f288762976a942ce309.tar.bz2
scala-c926654a82a48df1cde58f288762976a942ce309.zip
updated to not use 'this'
Diffstat (limited to 'test/files/run/map_test.scala')
-rw-r--r--test/files/run/map_test.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/map_test.scala b/test/files/run/map_test.scala
index 7e91955317..82a2c12e5a 100644
--- a/test/files/run/map_test.scala
+++ b/test/files/run/map_test.scala
@@ -23,7 +23,7 @@ object Test with Executable {
test_map(myMap);
}
- def test_map[This <: Map[int,String,This]](myMap:Map[int,String,This]) = {
+ def test_map(myMap:Map[int,String]) = {
val map1 = myMap.update(42,"The answer");
val map2 = map1.update(17,"A small random number");
val map3 = map2.update(666,"A bigger random number");