Shin Fujishiro <> changed:

           What    |Removed                     |Added
           Keywords|                            |rejects-valid
         Depends on|                            |5020

--- Comment #2 from Shin Fujishiro <> 2010-10-08 13:18:00 PDT 
Actually, it's explicitly castable to bool:

Rebindable!(const Object) r;
if (cast(bool) r) assert(0);
r = new Object;
if (!cast(bool) r) assert(0);

But dmd doesn't forward implicit boolean conversions in if (or other)
conditions to Rebindable's alias-this object.  Reported: bug 5020.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to