summaryrefslogtreecommitdiff
path: root/test/files/run/existentials.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2009-08-10 09:57:54 +0000
committerMartin Odersky <odersky@gmail.com>2009-08-10 09:57:54 +0000
commit1e15c075c1ae03cf1d356e45606894efdc57093a (patch)
treee0240cca1416d74cdf4bf47103f6acb2c87fb4a7 /test/files/run/existentials.scala
parentdd8009b190fc1f53f98f1313b6292579af79e309 (diff)
downloadscala-1e15c075c1ae03cf1d356e45606894efdc57093a.tar.gz
scala-1e15c075c1ae03cf1d356e45606894efdc57093a.tar.bz2
scala-1e15c075c1ae03cf1d356e45606894efdc57093a.zip
fixed t1705.
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 {