www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12480] New: static assert should print out the string representation of a value it can interpret

https://d.puremagic.com/issues/show_bug.cgi?id=12480

           Summary: static assert should print out the string
                    representation of a value it can interpret
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: andrej.mitrovich gmail.com



12:44:04 CET ---
-----


static assert(chars.length == 12);
-----

$ dmd test.d
 Error: static assert  (13u == 12u) is false
----- static assert(chars.length == 12); ----- $ dmd test.d
 Error: static assert  (chars.length == 12u) is false
-- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 27 2014