summaryrefslogtreecommitdiff
path: root/test/files/run/existentials.scala
diff options
context:
space:
mode:
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 469112b392..471f8fe779 100755
--- a/test/files/run/existentials.scala
+++ b/test/files/run/existentials.scala
@@ -52,7 +52,7 @@ object Bug1189 {
object Test extends Application {
- val x = { class I[T]; (new C(new I[String]), new C(new I[Int])) }
+ val x = { class I; class J; (new C(new I), new C(new J)) }
val y: (C[X], C[Y]) forSome { type X; type Y } = x
def foo(x : Counter[T] { def name : String } forSome { type T }) = x match {