[Issue 8767] expression of type bool() does not have a boolean value?

2014-05-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8767

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/e34c3ca875669817db2d8fb8c20d07186563b42f
Fix Issue 8767 - Add note on where to download the curl static library when
using x86 Windows.

--


[Issue 8767] expression of type bool() does not have a boolean value?

2014-05-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8767

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Resolution|DUPLICATE   |FIXED

--


[Issue 8767] expression of type bool() does not have a boolean value?

2014-05-06 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8767

Steven Schveighoffer schvei...@yahoo.com changed:

   What|Removed |Added

 CC||schvei...@yahoo.com
 Resolution|FIXED   |DUPLICATE

--- Comment #5 from Steven Schveighoffer schvei...@yahoo.com ---
I think this bug was mistakenly changed.

*** This issue has been marked as a duplicate of issue 7174 ***

--


[Issue 8767] expression of type bool() does not have a boolean value?

2012-10-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8767


Dmitry Olshansky dmitry.o...@gmail.com changed:

   What|Removed |Added

 CC||dmitry.o...@gmail.com


--- Comment #1 from Dmitry Olshansky dmitry.o...@gmail.com 2012-10-06 
01:50:00 PDT ---
 It can be fixed in the code by changing the erroring line to:
 static if ( hasFlag!( Flags.storageOrder ) == true )
 but I don't really understand why the comparison to true must be explicitely
 written since the hasFlag() method returns a bool value?

I'd expect hasFlag!(Flags.storageOrder)() to call this function. And without
parens it can be treated as function pointer. That being said 0-arg functions
usually gets called without parens implicitly.

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


[Issue 8767] expression of type bool() does not have a boolean value?

2012-10-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8767



--- Comment #2 from Kenji Hara k.hara...@gmail.com 2012-10-06 02:04:52 PDT ---
I think this is a dup of bug 7174.

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