blob: eed6f32d00cf67a840bef9f049bba800792dd4c7 (
plain) (
blame)
1
2
3
4
5
|
./neg/protected.scala:11: error overriding method y in class A;
method y in class B has weaker access privileges; it should not be protected
protected def y(): int;
^
one error found
|