[lang] Proposal: Allow extending DiffResult

2016-03-03 Thread rgm
Ironically, it seems impossible to override DiffResult.toString(), which one may wish to do in order to provide alternate formats for the differences that are more compact than "lhs differs from rhs." In my case, I wanted to support differences between Set so that one could get output like: Object

Re: [lang] Proposal: Allow extending DiffResult

2016-03-03 Thread rgm
coded string "differs from" are not affected by ToStringStyle. On Thu, Mar 3, 2016 at 11:05 AM, Bhowmik, Bindul wrote: > On Thu, Mar 3, 2016 at 9:31 AM, rgm wrote: > > Ironically, it seems impossible to override DiffResult.toString(), which > > one may wish to do in order t

Re: [lang] Proposal: Allow extending DiffResult

2016-03-05 Thread rgm
Thanks for the advice and your consideration, I have a better understanding now. Cheers. On Mar 5, 2016 2:06 AM, "Duncan Jones" wrote: > On 3 March 2016 at 18:49, rgm wrote: > > No, because ToStringStyle affects the rendering of only one of the > object's > > t