## minimized code ```Scala given foo(using x: Int) as AnyRef: type T = x.type ``` ## Compilation output ```scala non-private type T in class foo refers to private value x in its type signature = (foo.this.x : Int) ``` ## expectation This could compile if `x` was desugared to a public val in `foo`.