[Issue 20824] error messages generated by dmd build script can be prefixed with a non-standard "ERROR:"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 2 07:38:16 UTC 2020


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

--- Comment #2 from Basile-z <b2.temp at gmx.com> ---
This due to

---
/**
Aborts the current build

TODO:
    - Display detailed error messages

Params:
    msg = error message to display

Throws: BuildException with the supplied message

Returns: nothing but enables `throw abortBuild` to convey the resulting
behavior
*/
BuildException abortBuild(string msg = "Build failed!")
{
    throw new BuildException("ERROR: " ~ msg);
}
---

just split in two lines please.

--


More information about the Digitalmars-d-bugs mailing list