File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
compiler/src/dotty/tools/dotc/reporting Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 11package dotty .tools .dotc .reporting
22
3+ // ////////////////////////////////////////////////////////////////////////
4+ // IMPORTANT //
5+ // Only add new IDs at end of the enumeration list and never remove IDs //
6+ // ////////////////////////////////////////////////////////////////////////
7+
38/** Unique IDs identifying the messages, this will be used to reference documentation online.
49 *
510 * @param isActive Whether or not the compile still emits this ErrorMessageID
611 **/
712enum ErrorMessageID (val isActive : Boolean = true ) extends java.lang.Enum [ErrorMessageID ]:
813
9- // IMPORTANT: Add new IDs only at the end and never remove IDs
10-
1114 case NoExplanationID // errorNumber: -1
1215
1316 case EmptyCatchOrFinallyBlockID extends ErrorMessageID (isActive = false ) // errorNumber: 0
You can’t perform that action at this time.
0 commit comments