Correct resolution of inherited default members on external interfaces
[boo.git] / tests / testcases / errors / BCE0053-3.boo
blobd502d454e988502b9b7d4886ba760cec41d2767e
1 """
2 BCE0053-3.boo(10,9): BCE0053: Property 'Person.FirstName' is read only.
3 BCE0053-3.boo(10,20): BCE0053: Property 'Person.LastName' is read only.
4 """
5 class Person:
6 [getter(FirstName)] _fname as string
7 [getter(LastName)] _lname as string
9 def constructor():
10 FirstName, LastName = "Homer", "Simpson"
12 p = Person()