www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22258] New: [betterC] No error message for compiler failure


          Issue ID: 22258
           Summary: [betterC] No error message for compiler failure with
           Product: D
           Version: D2
          Hardware: x86
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: jack jackstouffer.com

Created attachment 1826
  --> https://issues.dlang.org/attachment.cgi?id=1826&action=edit
Reduced test case

Adding betterC to my dub.json causes dmd to exit with error code 1 without
printing an error message. Could be an ICE but I'm not sure.

I've attached the reduced test case from dustmite. Simply cd into the
dateparser folder and run dub with no arguments. dmd will exit with an error
code but no message.

Alternatively, you can download the source and run dub where the bug was found
at this commit:

Aug 31 2021