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

           Summary: static assert( void_function() ) gives misleading
                    error message
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: clugd...@yahoo.com.au


--- Comment #0 from Don <clugd...@yahoo.com.au> 2012-03-29 00:38:57 PDT ---
void f(){}
static assert(f());

----
bug.d(10): Error: cannot evaluate f() at compile time
bug.d(10):        while evaluating: static assert(f())

But actually f() was successfully evaluated at compile time!

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

Reply via email to