summaryrefslogtreecommitdiff
path: root/test/files/run/existentials.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2008-04-04 18:00:26 +0000
committerMartin Odersky <odersky@gmail.com>2008-04-04 18:00:26 +0000
commitf9a68fb01de1edd3fa620912bbe75897133cc81b (patch)
treeb75321225503a24060ce665cdbeb3e1c95d7eb09 /test/files/run/existentials.scala
parent768d107385af8f700be33b22444e537091d7f0ef (diff)
downloadscala-f9a68fb01de1edd3fa620912bbe75897133cc81b.tar.gz
scala-f9a68fb01de1edd3fa620912bbe75897133cc81b.tar.bz2
scala-f9a68fb01de1edd3fa620912bbe75897133cc81b.zip
(1) more changes for dynamic cycle detection of...
(1) more changes for dynamic cycle detection of implicits 2) change (to wildcard scoping in types 3) suppress $tag generation for purely (abstract traits 4) increase stacksize for sabbus to 32m (otherwise (problems on Windows)
Diffstat (limited to 'test/files/run/existentials.scala')
-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))))