Skip to content

Commit

Permalink
fixup #3038 add reference to bugzilla issue 14198
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed Mar 7, 2015
1 parent 8598139 commit 77b9b31
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 77b9b31

Please sign in to comment.