1
t3714-neg.scala:17: error: value break in class BreakImpl cannot be accessed in BreakImpl
2
Access to protected value break not permitted because
3
enclosing object Test is not a subclass of
4
class BreakImpl where target is defined
5
case b: BreakImpl => b.break
7
t3714-neg.scala:25: error: value break in class BreakImpl cannot be accessed in BreakImpl
8
Access to protected value break not permitted because
9
enclosing object Test is not a subclass of
10
class BreakImpl where target is defined
11
case b: BreakImpl => b.break