Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class X {
- protected[this] def foo = ()
- }
- class Y extends X {
- def bar = foo //Ok
- }
- class Z extends X {
- def foo = super.foo //Error: https://issues.scala-lang.org/browse/SI-1352
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement