diff options
author | Martin Odersky <odersky@gmail.com> | 2008-08-15 16:27:10 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2008-08-15 16:27:10 +0000 |
commit | 20a3e4ee457e61d3f695b794260b5a1e1e0156e9 (patch) | |
tree | 4a202ce58be5e09fa27881462d30dffba7fcf47c /test/files/run/existentials.scala | |
parent | d82034554088b25d30ae9dcdae5146b5351e7fc5 (diff) | |
download | scala-20a3e4ee457e61d3f695b794260b5a1e1e0156e9.tar.gz scala-20a3e4ee457e61d3f695b794260b5a1e1e0156e9.tar.bz2 scala-20a3e4ee457e61d3f695b794260b5a1e1e0156e9.zip |
Buffer gets vararg +, += methods; small fixes.
Diffstat (limited to 'test/files/run/existentials.scala')
-rwxr-xr-x | test/files/run/existentials.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/existentials.scala b/test/files/run/existentials.scala index fcb5c93213..b4be8d3f6a 100755 --- a/test/files/run/existentials.scala +++ b/test/files/run/existentials.scala @@ -104,3 +104,7 @@ object Test extends Application { trait FooBar[ A <: Option[_]] { def foo: A } trait SubFooBar[B <: Option[_]] extends FooBar[B] + var pc: List[Product with (Counter[T] forSome { type T })] = List() + def f() = pc + pc = f() +} |