diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-12-22 12:22:56 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2009-12-22 12:22:56 +0000 |
commit | ff1ecb531615bf12dcbe21fe1bbd0d066023cc36 (patch) | |
tree | ccea95fe9a546a0f704df9fb9dc0915a7876f25e /src/compiler | |
parent | 192c943c33bf387241e45785073ab14618fbd5fc (diff) | |
download | scala-ff1ecb531615bf12dcbe21fe1bbd0d066023cc36.tar.gz scala-ff1ecb531615bf12dcbe21fe1bbd0d066023cc36.tar.bz2 scala-ff1ecb531615bf12dcbe21fe1bbd0d066023cc36.zip |
fix the build. no review.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/RefChecks.scala | 2 |
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) } |