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

          Issue ID: 16545
           Summary: Runtime crash when trying to append big int value to
                    string
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

Found on DMD32 D Compiler v2.070.2. According to IRC, reproduces on git HEAD
too.

The following code:

void main()
{
    string s;
    uint x = 123424121;
    s ~= x;
}


crashes at runtime with error:

object.Error@(0): assert(0) or HLT instruction

--

Reply via email to