mdrubin / ironclad

Automatically exported from code.google.com/p/ironclad
Other
0 stars 0 forks source link

Potentially inaccurate dispatch #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If a class C has a method named M, and its [metaclass or any of its base 
classes] BM has both the 
same name as C and a method named M, then calls to C.M may go to the wrong 
implementation.

This is just silly.

Original issue reported on code.google.com by fwere...@gmail.com on 20 Jan 2009 at 8:35

GoogleCodeExporter commented 8 years ago
Wrote some tests, couldn't induce the problem; original implementation, while 
not
pretty, is more robust than I thought. Tests remain.

Original comment by fwere...@gmail.com on 18 Feb 2009 at 12:04