blob: e1797dba77636b379da4baa1ceb949bea9ccb8ee (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
class BipClass { }
trait BipTrait {
self: BipClass =>
private[this] def foo() = 5
def bar() = this.foo()
}
// error: value foo is not a member of BipTrait with BipClass
// def bar() = this.foo()
// ^
|