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