[Issue 14635] New: inconsistent type for line: uint vs size_t

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun May 31 13:44:16 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14635

          Issue ID: 14635
           Summary: inconsistent type for line: uint vs size_t
           Product: D
           Version: D2
          Hardware: x86
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Phobos
          Assignee: nobody at puremagic.com
          Reporter: timothee.cour2 at gmail.com

phobos uses 'size_t line = __LINE__' throughout the code, but in
$core/exception.d we have uint instead for the line parameter:
void _d_assert_msg(string msg, string file, uint line)
etc

--


More information about the Digitalmars-d-bugs mailing list