blob: 4e11000a2a53047324308ffba4d9cb572a8dfa14 (
plain) (
blame)
1
2
3
4
5
|
t8143a.scala:2: error: overriding method f in class Foo of type => Int;
method f has weaker access privileges; it should not be private
class Bar extends Foo { private def f = 10 }
^
one error found
|