summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Typers.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-11-28 06:45:29 +0000
committerPaul Phillips <paulp@improving.org>2010-11-28 06:45:29 +0000
commitb810d8c4012d1b09fa95181790722b60967be3fc (patch)
treefff3563f81f12a92df00ce858bde850067f3aefd /src/compiler/scala/tools/nsc/typechecker/Typers.scala
parent98569e2464292054c1b5629ad7eff4a4a3dd7381 (diff)
downloadscala-b810d8c4012d1b09fa95181790722b60967be3fc.tar.gz
scala-b810d8c4012d1b09fa95181790722b60967be3fc.tar.bz2
scala-b810d8c4012d1b09fa95181790722b60967be3fc.zip
Did some more polishing on the infamous partial...
Did some more polishing on the infamous partial function error message. No review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Typers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Typers.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Typers.scala b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
index 155883299a..33db7424bc 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Typers.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Typers.scala
@@ -2036,7 +2036,7 @@ trait Typers { self: Analyzer =>
}
case _ =>
}
- error(vparam.pos, missingParameterTypeMsg(fun, vparam))
+ error(vparam.pos, missingParameterTypeMsg(fun, vparam, pt))
ErrorType
}
if (!vparam.tpt.pos.isDefined) vparam.tpt setPos vparam.pos.focus