We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7cd176f + 0e0b7d9 commit 01f7947Copy full SHA for 01f7947
compiler/test-resources/repl/i2310
@@ -0,0 +1,8 @@
1
+scala> trait T(x: Int)
2
+// defined trait T
3
+scala> trait U extends T
4
+// defined trait U
5
+scala> class C extends U with T(22) { override def toString = "C" }
6
+// defined class C
7
+scala> new C
8
+val res0: C = C
0 commit comments