From 1e15c075c1ae03cf1d356e45606894efdc57093a Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 10 Aug 2009 09:57:54 +0000 Subject: fixed t1705. --- 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 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 { -- cgit v1.2.3