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