Correct resolution of inherited default members on external interfaces
[boo.git] / tests / testcases / errors / BCE0141.boo
blobc67abf5557c338145e6419e0211829527441d84c
1 """
2 BCE0141.boo(6,26): BCE0141: Duplicate parameter name 'dup' in 'Foo.constructor(object, object)'.
3 BCE0141.boo(9,24): BCE0141: Duplicate parameter name 'dup' in 'BCE0141Module.method(int, string)'.
4 """
5 class Foo:
6 def constructor(dup, dup):
7 pass
9 def method(dup as int, dup as string):
10 print dup, dup
12 method(1, "snaffu!")