[Issue 10560] Enum typed as int with value equal to 0 or 1 prefer bool over int overload

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jul 7 13:44:13 PDT 2013


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



--- Comment #2 from yazan.dabain at gmail.com 2013-07-07 13:44:11 PDT ---
I certainly agree. I just wanted to note the explanation on why an int
'literal' of 1 would match a bool overload in the first place.

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


More information about the Digitalmars-d-bugs mailing list