Tomek Sowiñski wrote: <snip> > ... I bypass the const promise on a function (two of them in fact). No casting, no evil stuff. > > Is this a compiler bug or feature? http://d.puremagic.com/issues/show_bug.cgi?id=3534