Ticket #321 (new defect)
Overload resolution needs improvement
Reported by: | Charles | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Cobra Compiler | Version: | 0.9.3 |
Keywords: | Cc: |
Description
Cobra's method overload resolution skips certain method names with the following if guard in _bindImp of CallExpr?:
if winner.name not in ['format', 'invoke', 'split', 'sort']
That indicates that 3rd party libraries are going to have problems which currently have no workaround (other than using a sharp string).
Note that since Cobra uses C# as a back-end, it will largely need to match C#'s overload resolution with the exception that since extension methods can be called explicitly as static/shared methods, Cobra may bind to those in cases where C# would not.
See also: ticket:189
Change History
Note: See
TracTickets for help on using
tickets.