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.
1 parent a5363c4 commit 3270404Copy full SHA for 3270404
tests/pos/i1812.scala
@@ -0,0 +1,12 @@
1
+class FF[R] {
2
+ def compose(): R = ???
3
+}
4
+
5
+class Test(x: Int) extends AnyVal {
6
+ def method: Unit = {
7
+ class Bla
8
+ class Foo extends FF[Bla] {
9
+ override def compose() = super[FF].compose()
10
+ }
11
12
tests/pos/i1812b.scala
@@ -0,0 +1,11 @@
+ class Bla{ def bar:a.S = ???}
+ trait TRT{ type S}
+ val a: TRT = ???
0 commit comments