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 ab03d87 + 2fea4ac commit b863cecCopy full SHA for b863cec
tests/pos/i11078b.scala
@@ -1,7 +1,8 @@
1
class Test {
2
trait Foo[A <: Foo[A]]
3
4
- trait FooWrapper with self =>
+ trait FooWrapper:
5
+ self =>
6
type A <: Foo[A]
7
def doThing(foo: FooWrapper): FooWrapper { type A = self.A } = ???
8
end FooWrapper
0 commit comments