dotty.tools.dotc.reporting.diagnostic.messages
a unique number identifying the message, this will later be used to reference documentation online
a unique number identifying the message, this will later be used to reference documentation online
The explanation should provide a detailed description of why the error occurred and use examples from the user's own code to illustrate how to avoid these errors.
The explanation should provide a detailed description of why the error occurred and use examples from the user's own code to illustrate how to avoid these errors.
The kind of the error message is something like "Syntax" or "Type Mismatch"
The kind of the error message is something like "Syntax" or "Type Mismatch"
The msg
contains the diagnostic message e.g:
The msg
contains the diagnostic message e.g:
> expected: String > found: Int
This message will be placed underneath the position given by the enclosing
MessageContainer
The implicit Context
in messages is a large thing that we don't want
persisted.
The implicit Context
in messages is a large thing that we don't want
persisted. This method gets around that by duplicating the message
without the implicit context being passed along.