http://d.puremagic.com/issues/show_bug.cgi?id=6472


Jonathan M Davis <jmdavisp...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisp...@gmx.com
           Severity|normal                      |enhancement


--- Comment #1 from Jonathan M Davis <jmdavisp...@gmx.com> 2011-08-11 21:05:21 
PDT ---
t.removeKey!string("1");

I believe that this is a case of template inferrence failing, because it's
deciding that the input to removeKey is a range a dchars rather than a single
string, and you can't covert dchar to the element type of the container
(string), and so compilation fails. I don't know how fixable it is with
template constraints. Hopefully someone can sort it out, but it may be that the
compiler is just too stupid in this case.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to