MutableDiagnostic
Mutable Diagnostic
Describes a class which carries fully mutable diagnostic information; this class is also made available reflectively for spawning new diagnostics from native contexts.
Diagnostics should always be finalized into a Diagnostic instance to enforce immutability and thread-safety.
See also
Canonical diagnostic type
Properties
Link copied to clipboard
Position in the source for the diagnostic, if any
Link copied to clipboard
Reference to the source file or snippet of the diagnostic, if any
Link copied to clipboard
Optionally contains a pre-formatted version of the message
Link copied to clipboard
Source span for the diagnostic, if any