summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2009-12-22 12:22:56 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2009-12-22 12:22:56 +0000
commitff1ecb531615bf12dcbe21fe1bbd0d066023cc36 (patch)
treeccea95fe9a546a0f704df9fb9dc0915a7876f25e /src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
parent192c943c33bf387241e45785073ab14618fbd5fc (diff)
downloadscala-ff1ecb531615bf12dcbe21fe1bbd0d066023cc36.tar.gz
scala-ff1ecb531615bf12dcbe21fe1bbd0d066023cc36.tar.bz2
scala-ff1ecb531615bf12dcbe21fe1bbd0d066023cc36.zip
fix the build. no review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/RefChecks.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/RefChecks.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
index a51797fe25..bfd771b1cf 100644
--- a/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/RefChecks.scala
@@ -87,7 +87,7 @@ abstract class RefChecks extends InfoTransform {
if (!others.isEmpty) {
val all = x :: others
val rest = if (all.exists(_.owner != clazz)) ".\nThe members with defaults are defined in "+
- all.map(_.owner).mkString("", " and ", ".") else ""
+ all.map(_.owner).mkString("", " and ", ".") else "."
unit.error(clazz.pos, "in "+ clazz +", multiple overloaded alternatives of "+ x +
" define default arguments"+ rest)
}