diff options
author | Martin Odersky <odersky@gmail.com> | 2017-02-18 13:12:26 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-02-18 14:04:10 +0100 |
commit | 2da43052f0f0ff04c500c074ee429a6d713a6a2d (patch) | |
tree | 50d8790695f3dcc9e43da9f731682d5be3888680 /compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala | |
parent | 1946b36ca4abb7ba8264c18af95bc9c9c94f67ee (diff) | |
download | dotty-2da43052f0f0ff04c500c074ee429a6d713a6a2d.tar.gz dotty-2da43052f0f0ff04c500c074ee429a6d713a6a2d.tar.bz2 dotty-2da43052f0f0ff04c500c074ee429a6d713a6a2d.zip |
Fix off-by-one error in forward reference checking
Diffstat (limited to 'compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala')
-rw-r--r-- | compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala | 2 |
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 94611e10d..9318ad8c6 100644 --- a/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala +++ b/compiler/src/dotty/tools/dotc/reporting/diagnostic/messages.scala @@ -1055,7 +1055,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 } |