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.
given foo(using x: Int) as AnyRef: type T = x.type
non-private type T in class foo refers to private value x in its type signature = (foo.this.x : Int)
This could compile if x was desugared to a public val in foo.
x
foo