www.digitalmars.com         C & C++   DMDScript  

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

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

          Issue ID: 22258
           Summary: [betterC] No error message for compiler failure with
                    betterC
           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:
https://github.com/JackStouffer/date-parser/commit/50a902fc49bdc883d3525cba200a12a974bdf69f

--
Aug 31