From f9a68fb01de1edd3fa620912bbe75897133cc81b Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 4 Apr 2008 18:00:26 +0000 Subject: (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) --- test/files/run/existentials.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/run/existentials.scala') 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)))) -- cgit v1.2.3