Skip to content

Commit

Permalink
Merge pull request #3044 from MartinNowak/fixup3038
Browse files Browse the repository at this point in the history
fixup #3038 add reference to bugzilla issue 14198
  • Loading branch information
yebblies committed Mar 8, 2015
2 parents 8598139 + 77b9b31 commit 74d2c8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions std/conv.d
Expand Up @@ -105,6 +105,7 @@ private
T toStr(T, S)(S src)
if (isSomeString!T)
{
// workaround for Bugzilla 14198
static if (is(S == bool) && is(typeof({ T s = "string"; })))
{
return src ? "true" : "false";
Expand Down

0 comments on commit 74d2c8a

Please sign in to comment.