Codespan::Reporting::Diagnostic
Constructors
bug
Sourceerror
Sourcehelp
Sourcenew(severity : Severity, code : String | Nil = nil, message : String = "", labels : Array(Label) = [] of Label, notes : Array(String) = [] of String)
Sourcenote
Sourcewarning
SourceInstance methods
code
Sourcelabels
Sourcemessage
Sourcenotes
Sourceseverity
Sourcewith_code(code) : Diagnostic
Sourcewith_label(label : Label) : Diagnostic
Sourcewith_message(message) : Diagnostic
Sourcewith_note(note) : Diagnostic
Source