No error message in DMD 2.078.2
ag0aep6g
anonymous at example.com
Tue Feb 13 09:55:48 UTC 2018
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
More information about the Digitalmars-d-learn
mailing list