Skip to content

Commit d3ccc48

Browse files
committed
Clarify ScalaDocs for Message
1 parent a65da2e commit d3ccc48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ object Message {
1818
/** A `Message` contains all semantic information necessary to easily
1919
* comprehend what caused the message to be logged. Each message can be turned
2020
* into a `MessageContainer` which contains the log level and can later be
21-
* consumed by a subclass of `Reporter`.
21+
* consumed by a subclass of `Reporter`. However, the error position is only
22+
* part of `MessageContainer`, not `Message`.
2223
*
2324
* @param errorId a unique number identifying the message, this will later be
2425
* used to reference documentation online

0 commit comments

Comments
 (0)