Posted Thu, 20 Nov 2014 19:39:25 GMT in reply to
Toshiaki Takada
Reply
On Wed, 19 Nov 2014 09:12:32 -0800, Toshiaki Takada wrote:
Hi Folks,
After I updated vibe.d from 0.7.20 to 0.7.21, I am seeing some conflicts
with urlEncode(). I was assuming I used one defined in
textfilter/urlencode.d, while another urlEncode()s in inet/webform.d
were introduced, which is causing compilation error.
I guess one defined in inet/webform.d should be private, but I might be
wrong. So I need some help or fix if it is wrong in any case.
Thanks!
--T
It seems like the one in inet.webform
is missing a proper template constraint to avoid the conflict. I've added one now (f046e8b), so that should hopefully resolve the conflict. For the time being, you could either check out git HEAD of vibe.d and use dub add-local <path/to/vibe.d>
to use that instead of the one from the registry, or you could change your code to explicitly call vibe.textfilter.urlencode.urlEncode(...)
to resolve the conflict - not pretty, but should work.