On Sunday, June 24, 2012 18:02:30 Benjamin Thaut wrote: > The strange here is, I just want to return a reference at that point, > why does it even want to initialize anything? After a hour of searching > I managed to produce the above reduced sample, it all comes down to the > @disable this() in bar2. If it is removed everything works fine. Also > the container and the usage of it need to be in two different modules, > otherwise it will work. Is this a bug or do I not understand something > about @disable this() ?
Even stranger, as far as I can tell, @disable this(); is completely broken: http://d.puremagic.com/issues/show_bug.cgi?id=7021 - Jonathan M Davis
