Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.8.2
-
Fix Version/s: 0.9
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
class Bar: pass interface IFoo: def Bar(ref x as Bar) as bool class Foo (IFoo): def Bar(ref x as Bar) as bool: return true x as Bar Foo().Bar(x) #BCE0004: Ambiguous reference 'Bar': Foo.Bar(Bar), Foo.Bar(Bar), Foo.Bar(Bar).
If parameter 'x' is an external type instead of an internal type, it works.
Simpler testcase (no need for an abstract class in the middle to trigger the bug)