diff options
Diffstat (limited to 'test/files/pos/bug690.scala')
-rwxr-xr-x | test/files/pos/bug690.scala | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/pos/bug690.scala b/test/files/pos/bug690.scala new file mode 100755 index 0000000000..a93c54f007 --- /dev/null +++ b/test/files/pos/bug690.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); +} |