Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.8.1
-
Fix Version/s: 0.8.2
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
class A:
pass
class B(A):
pass
class C(B):
pass
class Test:
def foo(x as A):
print "foo-A"
def foo(x as B):
print "foo-B"
c = C()
duck_test as duck = Test()
duck_test.foo(c) #prints foo-A
test = Test()
test.foo(c) #prints foo-B
spotted by Greg (hangar).
Issue Links
- is related to
-
BOO-1001
Merge code from CRS to RuntimeServices
-
fixed in r.2927