We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaae0df commit 2b162ffCopy full SHA for 2b162ff
tests/run/i756.scala
@@ -0,0 +1,8 @@
1
+trait T { def foo: Int = 3 }
2
+trait T1 extends T { override def foo = super.foo }
3
+trait T2 extends T { override def foo = super.foo }
4
+object Test extends T2 with T1 {
5
+ def main(args: Array[String]) = {
6
+ assert(foo == 3)
7
+ }
8
+}
0 commit comments