Correct resolution of inherited default members on external interfaces
[boo.git] / tests / testcases / errors / BCE0090-1.boo
blobbc015d908480d1853cd51843f14465f2df6c8e47
1 """
2 BCE0090-1.boo(9,28): BCE0090: Derived method 'B.Foo' can not reduce the accessibility of 'A.Foo' from 'public' to 'protected'.
3 """
4 class A:
5 virtual def Foo():
6 pass
8 class B(A):
9 override protected def Foo():
10 pass