Correct resolution of inherited default members on external interfaces
[boo.git] / tests / testcases / errors / BCE0102-1.boo
blobd7641376a30ee5de2d39d6f955b8b41db4d206c2
1 """
2 BCE0102-1.boo(6,12): BCE0102: Generators cannot return values.
3 """
4 def foo():
5 yield 1
6 return 42