On 02/13/2018 06:51 AM, Domain wrote:
module main;

void main ()
{
     writeln("Hello");
}

Of course, this won't compile, but error message is confused:

C:\Git\hello\source>dmd app.d
app.d(5): Error:
object.Error@(0): Access Violation

This is issue 18403. You should see an error message with some highlighted code, but dmd crashes when it tries to print that. You can invoke dmd with `-color=off` to work around the issue, or go back to 2.078.1 until we get a release with the fix.

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

Reply via email to