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

--- Comment #0 from 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:
------- You are receiving this mail because: -------

Reply via email to