afaik there's nothing technical preventing overloading by return type. However one trick I use is to simply add a typedesc parameter and overload on that. So instead of var s: string = somefunction(d) I'd just say var s = somefunction(d, string) Hell since you already have the converter you should be able to do var s = d.string
- Overloading by Return Type? Nimbecile
- Re: Overloading by Return Type? Libman
- Re: Overloading by Return Type? Demos
