aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo G. Giarrusso <p.giarrusso@gmail.com>2016-11-07 12:02:18 +0100
committerPaolo G. Giarrusso <p.giarrusso@gmail.com>2016-11-11 13:32:25 +0100
commitd3ccc48e5cbacdefe160839ac91e1a1495c0bd60 (patch)
treee8d36c7dd03dbb35df8c757bf85b7673880cf5e7
parenta65da2ece5579dd198f39bb731c4a281a85aacce (diff)
downloaddotty-d3ccc48e5cbacdefe160839ac91e1a1495c0bd60.tar.gz
dotty-d3ccc48e5cbacdefe160839ac91e1a1495c0bd60.tar.bz2
dotty-d3ccc48e5cbacdefe160839ac91e1a1495c0bd60.zip
Clarify ScalaDocs for Message
-rw-r--r--src/dotty/tools/dotc/reporting/diagnostic/Message.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/reporting/diagnostic/Message.scala b/src/dotty/tools/dotc/reporting/diagnostic/Message.scala
index 4a42c122f..8b607c18c 100644
--- a/src/dotty/tools/dotc/reporting/diagnostic/Message.scala
+++ b/src/dotty/tools/dotc/reporting/diagnostic/Message.scala
@@ -18,7 +18,8 @@ object Message {
/** A `Message` contains all semantic information necessary to easily
* comprehend what caused the message to be logged. Each message can be turned
* into a `MessageContainer` which contains the log level and can later be
- * consumed by a subclass of `Reporter`.
+ * consumed by a subclass of `Reporter`. However, the error position is only
+ * part of `MessageContainer`, not `Message`.
*
* @param errorId a unique number identifying the message, this will later be
* used to reference documentation online