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

--- Comment #1 from [email protected] ---
seems like the stack trace omitting depends on the formatting of the source
file path given on the command line

% dmd -main -unittest -run test.d
test.d(1): [unittest] oh no
1/1 modules FAILED unittests

% dmd -main -unittest -run ./test.d
core.exception.AssertError@./test.d(1): oh no
(... stack trace here)

% dmd -main -unittest -run $PWD/test.d
core.exception.AssertError@/home/human/test.d(1): oh no
(... stack trace here)

omitted if the path is just the filename, not omitted if it includes a
directory path

(this explains why i've only seen this happen inconsistently)

--

Reply via email to