Re: Routing of AssertError messages

2021-07-31 Thread Tejas via Digitalmars-d-learn
On Saturday, 31 July 2021 at 12:03:49 UTC, DLearner wrote: Hi This may be due to Windows, not DMD. Please see code below (held in test.d): ``` void main() { import std.stdio; writeln("Test"); assert(false, "TestAssert"); } ``` ` dmd -i -run test.d ` results in both "Test" and the

Re: Routing of AssertError messages

2021-07-31 Thread jfondren via Digitalmars-d-learn
On Saturday, 31 July 2021 at 12:03:49 UTC, DLearner wrote: Hi This may be due to Windows, not DMD. Please see code below (held in test.d): ``` void main() { import std.stdio; writeln("Test"); assert(false, "TestAssert"); } ``` ` dmd -i -run test.d ` results in both "Test" and the

Routing of AssertError messages

2021-07-31 Thread DLearner via Digitalmars-d-learn
Hi This may be due to Windows, not DMD. Please see code below (held in test.d): ``` void main() { import std.stdio; writeln("Test"); assert(false, "TestAssert"); } ``` ` dmd -i -run test.d ` results in both "Test" and the "TestAssert" string (and trace) being routed to screen. But