Diagnostic struct

Defined in module util.diag (diag.l0).

Diagnostic represents an error, warning, or note message produced during compilation.

It includes information about the phase of compilation, a code for the specific issue, the severity level, a human-readable message, and the location in the source code.

Fields

phase: string
code: string
severity: DiagnosticSeverity
message: string
filename: string
line: int
column: int
line_end: int
column_end: int