aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/reporting
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2017-02-22 11:33:52 +0100
committerGitHub <noreply@github.com>2017-02-22 11:33:52 +0100
commit5c7ef22a5464456a3e95869c0f6154a2ae8a5f84 (patch)
treeb65e67507ca53f2c1c51bf4f85f67620ffc7aa69 /compiler/src/dotty/tools/dotc/reporting
parent355232690d96e458764159a66f3fed0135c059a3 (diff)
parent815e426c8512e046f09edb7c7d3c3a98653bce24 (diff)
downloaddotty-5c7ef22a5464456a3e95869c0f6154a2ae8a5f84.tar.gz
dotty-5c7ef22a5464456a3e95869c0f6154a2ae8a5f84.tar.bz2
dotty-5c7ef22a5464456a3e95869c0f6154a2ae8a5f84.zip
Merge pull request #1997 from dotty-staging/fix-#1992
Fix off-by-one error in forward reference checking
Diffstat (limited to 'compiler/src/dotty/tools/dotc/reporting')
-rw-r--r--compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala b/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala
index 7fccebef9..e818e7a42 100644
--- a/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala
+++ b/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala
@@ -1062,7 +1062,7 @@ object messages {
|
|Define `${definition.name}` before it is used,
|or move the definition of `${value.name}` so it does not appear between
- |the declartion of `${definition.name}` and its use,
+ |the declaration of `${definition.name}` and its use,
|or define `${value.name}` as lazy.
|""".stripMargin
}