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

           Summary: no UFCS for 0 literal
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: timon.g...@gmx.ch


--- Comment #0 from timon.g...@gmx.ch 2012-06-16 10:42:04 PDT ---
DMD 2.059/2.060head:

bool f(int x){return !x;}
static assert(!1.f); // ok
static assert(0.f);  // fail

Both static assertions should pass.

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

Reply via email to