[Issue 4755] New: assert(0,"...") error message

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 29 08:43:19 PDT 2010


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

           Summary: assert(0,"...") error message
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bearophile_hugs at eml.cc


--- Comment #0 from bearophile_hugs at eml.cc 2010-08-29 08:43:06 PDT ---
This D2 program:

void main() {
    assert(0, "This is a message");
}


With dmd 2.048 prints:
object.Error: assert(0) or HLT instruction

It doesn't print the line number nor the "This is a message".

-- 
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