Skip to content

Commit

Permalink
fix issue 20824 - error messages generated by dmd build script can be…
Browse files Browse the repository at this point in the history
… prefixed with a non-standard "ERROR:"

So that dmd developpers working with IDE can click the first message.
  • Loading branch information
Nils Lankila authored and Nils Lankila committed Jun 2, 2020
1 parent 6e41655 commit e49fa4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.d
Expand Up @@ -1806,7 +1806,7 @@ Returns: nothing but enables `throw abortBuild` to convey the resulting behavior
*/
BuildException abortBuild(string msg = "Build failed!")
{
throw new BuildException("ERROR: " ~ msg);
throw new BuildException(msg);
}

class BuildException : Exception
Expand Down

0 comments on commit e49fa4d

Please sign in to comment.