summaryrefslogtreecommitdiff
path: root/test/files/run/bridges.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/bridges.scala')
-rw-r--r--test/files/run/bridges.scala16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/files/run/bridges.scala b/test/files/run/bridges.scala
index bf3781fde0..65ba2f13cc 100644
--- a/test/files/run/bridges.scala
+++ b/test/files/run/bridges.scala
@@ -39,21 +39,21 @@ import Help.bar;
import Help.mix;
import Help.sub;
-abstract class Foo___ { type I<:AnyRef; def f: I ; f; }
-abstract class Foo__f { type I<:AnyRef; def f: I = {foo; null}; f; }
+abstract class Foo___ { type I>:AllRef<:AnyRef; def f: I ; f; }
+abstract class Foo__f { type I>:AllRef<:AnyRef; def f: I = {foo; null}; f; }
abstract class Foo_I_ { class I ; def f: I ; f; }
abstract class Foo_If { class I ; def f: I = {foo; null}; f; }
-abstract class FooX__[X] { type I<:AnyRef; def f: I ; f; }
-abstract class FooX_f[X] { type I<:AnyRef; def f: I = {foo; null}; f; }
+abstract class FooX__[X] { type I>:AllRef<:AnyRef; def f: I ; f; }
+abstract class FooX_f[X] { type I>:AllRef<:AnyRef; def f: I = {foo; null}; f; }
abstract class FooXI_[X] { class I ; def f: I ; f; }
abstract class FooXIf[X] { class I ; def f: I = {foo; null}; f; }
-trait Bar___ { type I<:AnyRef; def f: I ; f; }
-trait Bar__f { type I<:AnyRef; def f: I = {bar; null}; f; }
+trait Bar___ { type I>:AllRef<:AnyRef; def f: I ; f; }
+trait Bar__f { type I>:AllRef<:AnyRef; def f: I = {bar; null}; f; }
trait Bar_I_ { class I ; def f: I ; f; }
trait Bar_If { class I ; def f: I = {bar; null}; f; }
-trait BarY__[Y] { type I<:AnyRef; def f: I ; f; }
-trait BarY_f[Y] { type I<:AnyRef; def f: I = {bar; null}; f; }
+trait BarY__[Y] { type I>:AllRef<:AnyRef; def f: I ; f; }
+trait BarY_f[Y] { type I>:AllRef<:AnyRef; def f: I = {bar; null}; f; }
trait BarYI_[Y] { class I ; def f: I ; f; }
trait BarYIf[Y] { class I ; def f: I = {bar; null}; f; }