We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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