summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
diff options
context:
space:
mode:
authorJohannes Rudolph <johannes.rudolph@gmail.com>2013-12-10 16:39:01 +0100
committerJohannes Rudolph <johannes.rudolph@gmail.com>2013-12-10 16:39:01 +0100
commit7db59bd9984dc66f41719a1e79d2d1443adc80ba (patch)
tree4e24425eaefd489e7cbf4a38378548885ab2de6b /src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
parentb345b42cac64aa97e3bbcc6f14ef8f08214ab56f (diff)
downloadscala-7db59bd9984dc66f41719a1e79d2d1443adc80ba.tar.gz
scala-7db59bd9984dc66f41719a1e79d2d1443adc80ba.tar.bz2
scala-7db59bd9984dc66f41719a1e79d2d1443adc80ba.zip
fix typo in error messages
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
index 2472f63993..719d04a7f9 100644
--- a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
@@ -1261,7 +1261,7 @@ trait ContextErrors {
def DoubleParamNamesDefaultError(arg: Tree, name: Name, pos: Int, otherName: Option[Name])(implicit context: Context) = {
val annex = otherName match {
- case Some(oName) => "\nNote that that '"+ oName +"' is not a parameter name of the invoked method."
+ case Some(oName) => "\nNote that '"+ oName +"' is not a parameter name of the invoked method."
case None => ""
}
issueNormalTypeError(arg, "parameter '"+ name +"' is already specified at parameter position "+ pos + annex)