Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

dmd.errors

Compiler implementation of the D programming language.
Authors:

Source: errors.d

enum Classification: Color;
Color highlighting to classify messages
error
for errors
gagged
for gagged errors
warning
for warnings
deprecation
for deprecations
void error(ref const Loc loc, const(char)* format, ...);
Print error message
void fatal();
Call this after printing out fatal error messages to clean up and exit the compiler.
void halt();
Try to stop forgetting to remove the breakpoints from release builds.
enum HIGHLIGHT: ubyte;
Embed these highlighting commands in the text stream. HIGHLIGHT.Escape indicats a Color follows.