summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run')
-rwxr-xr-xtest/files/run/existentials.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/existentials.scala b/test/files/run/existentials.scala
index 9dc9855a75..42711df5f2 100755
--- a/test/files/run/existentials.scala
+++ b/test/files/run/existentials.scala
@@ -62,7 +62,7 @@ object Test extends Application {
case _ =>
}
- def fooW(x : Counter[_] { def name : String }) = x match {
+ def fooW(x : Counter[T] { def name : String } forSome { type T }) = x match {
case ctr: Counter[t] =>
val c = ctr.newCounter
println(ctr.name+" "+ctr.get(ctr.inc(ctr.inc(c))))