blob: b920357ee6942f705f6809011bf5f041f067ff20 (
plain) (
tree)
|
|
t3871.scala:4: error: variable foo in class Sub2 cannot be accessed in Sub2
Access to protected method foo not permitted because
enclosing class Base is not a subclass of
class Sub2 where target is defined
s.foo = true
^
one error found
|