[dmd-beta] Fighting with 2.059 and not quite winning

Vladimir Panteleev thecybershadow.lists at gmail.com
Fri Apr 6 20:51:53 PDT 2012


On Sat, 07 Apr 2012 03:25:17 +0300, Jonathan M Davis <jmdavisProg at gmx.com>  
wrote:

> So, I don't know why you're having problems.

Sorry, I should have made this clear:

The issue isn't with toString, but toHash.

The reason this affects me is that both toString and toHash use a common  
code path, so the called functions' attributes have to follow the lowest  
common denominator - as set by toHash.

It's also easy to imagine a use case with using the string representation  
of an object to calculate its hash.

> Could you give code examples?

You can clone the project from the links in my first post.

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the dmd-beta mailing list