Skip to content

Commit 6563f65

Browse files
committed
Copy doc from Message.errorId to ErrorMessageID
1 parent 924f2d7 commit 6563f65

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

compiler/src/dotty/tools/dotc/reporting/ErrorMessageID.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package dotty.tools.dotc.reporting
22

3-
/** Unique IDs identifying the messages
3+
/** Unique IDs identifying the messages, this will be used to reference documentation online.
4+
*
45
* @param isActive Whether or not the compile still emits this ErrorMessageID
56
**/
67
enum ErrorMessageID(val isActive: Boolean = true) extends java.lang.Enum[ErrorMessageID]:

compiler/src/dotty/tools/dotc/reporting/Message.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ object Message {
4343
* Instead use the `persist` method to create an instance that does not keep a
4444
* reference to these contexts.
4545
*
46-
* @param errorId a unique id identifying the message, this will later be
46+
* @param errorId a unique id identifying the message, this will be
4747
* used to reference documentation online
4848
*/
4949
abstract class Message(val errorId: ErrorMessageID) { self =>

0 commit comments

Comments
 (0)