digitalmars.D.bugs - [Issue 8652] New: dmd make calls to _d_assertm
- d-bugmail puremagic.com (26/26) Sep 13 2012 http://d.puremagic.com/issues/...
http://d.puremagic.com/issues/show_bug.cgi?id=8652 Summary: dmd make calls to _d_assertm Product: D Version: D1 & D2 Platform: All OS/Version: All Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: jens.k.mueller gmx.de --- Comment #0 from jens.k.mueller gmx.de 2012-09-13 15:34:59 PDT --- When you use assert you get different output depending on whether a message was given or not. The reason is that dmd calls _d_assertm if no message was given and _d_assert_msg if a message was given. This is all fine except that when calling _d_assertm instead of the filename the module name is used. In glue.c around line 478 when calling _d_assertm only the line number is computed. In my opinion _d_assertm should be changed to accept a string for the filename instead of a ModuleInfo*. I would like to make the needed changes myself but I need assistance because I'm quite lost in the backend/glue code. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 13 2012