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 22b2259 + b00b5c6 commit c084600Copy full SHA for c084600
tests/pos/i14830.scala
@@ -0,0 +1,6 @@
1
+
2
+// https://github.com/lampepfl/dotty/issues/14830
3
+val a: Comparable[String] = "Fred"
4
+val b: { def length: Int } = "Fred"
5
+val c: Comparable[String] & { def length: Int } = "Fred"
6
+val d: Comparable[String] & { def length(): Int } = "Fred"
0 commit comments