Created attachment 1826
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
Comment #1 by bugzilla — 2022-06-04T09:06:43Z
Being a compiler bug, it shouldn't need dub. Is there a way to reproduce it with just the compiler?
Comment #2 by jack — 2022-06-04T23:46:47Z
(In reply to Walter Bright from comment #1)
> Being a compiler bug, it shouldn't need dub. Is there a way to reproduce it
> with just the compiler?
Yeah, cd into the dateparser folder and run
dmd -betterC -Isource/ -I../emsi_containers/src/ -I../stdx-allocator/source/ source/dateparser/package.d
It exits with error code 1 and no message.
Comment #3 by robert.schadek — 2024-12-13T19:18:15Z