aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t690.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/t690.scala')
-rw-r--r--tests/untried/pos/t690.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/untried/pos/t690.scala b/tests/untried/pos/t690.scala
new file mode 100644
index 000000000..a93c54f00
--- /dev/null
+++ b/tests/untried/pos/t690.scala
@@ -0,0 +1,14 @@
+package test;
+trait test {
+ type T;
+ trait Manager {
+ type T <: test.this.T;
+ def foo(t : T) = {};
+ }
+ object M0 extends Manager {
+ override type T = test.this.T;
+ override def foo(t : T) = super.foo(t);
+ }
+ def t : T;
+ M0.foo(t);
+}