Re: hashes of hashes not supported

2012-11-09 Thread Maxim Fomin
On Friday, 9 November 2012 at 17:58:27 UTC, Dan wrote: I don't think making postblit accept const works - did it for you? If you just mean "this(const this)" it does make it compile - but that postblit is not called. Making parameter to be const solves that problem. Not to me. Sorry if I'm

Re: hashes of hashes not supported

2012-11-09 Thread Dan
On Friday, 9 November 2012 at 17:27:18 UTC, Maxim Fomin wrote: Experimenting on dpaste site shows that error message was fixed in trunk (you can select compiler version there). Excellent tool - I'll use it more. I'm using a version of the trunk from not long ago and the dmd version output f

Re: hashes of hashes not supported

2012-11-09 Thread Maxim Fomin
On Friday, 9 November 2012 at 16:24:31 UTC, Dan wrote: I'm using (DMD64 D Compiler v2.061) and don't see it, so it seems moving from v2.060 to v2.061 takes away some useful error messages which is bad. Experimenting on dpaste site shows that error message was fixed in trunk (you can select co

Re: hashes of hashes not supported

2012-11-09 Thread Dan
On Friday, 9 November 2012 at 14:29:06 UTC, Maxim Fomin wrote: Error: function hello.S.__postblit () is not callable using argument types () Error: *&this is not mutable Error: this is not mutable Error: this is not mutable hello.d(6): Error: template instance object.AssociativeArray!(string,co

Re: hashes of hashes not supported

2012-11-09 Thread Maxim Fomin
On Friday, 9 November 2012 at 13:15:15 UTC, Dan wrote: ... Actually error message is: Error: function hello.S.__postblit () is not callable using argument types () Error: *&this is not mutable Error: this is not mutable Error: this is not mutable hello.d(6): Error: template instance object.

hashes of hashes not supported

2012-11-09 Thread Dan
Is there a fundamental problem with this? The second assert causes compile below. Without the postblit there is no error. Thanks Dan Error: function postblit.S.__postblit () is not callable using argument types () const //postblit.d(6): Error: template instance object.AssociativeArray!(strin