summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-12-01 12:38:10 +0100
committerPaul Phillips <paulp@improving.org>2012-12-02 13:39:05 -0800
commitde6649439e39c1f656644ac090fc49a7a8f02340 (patch)
tree25639987d8bf130ee570269fc50f285240ccecf6 /src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
parent47245f547f55df1feff9add1e8cd73edd8d0b154 (diff)
downloadscala-de6649439e39c1f656644ac090fc49a7a8f02340.tar.gz
scala-de6649439e39c1f656644ac090fc49a7a8f02340.tar.bz2
scala-de6649439e39c1f656644ac090fc49a7a8f02340.zip
Remove TermName -> String implicit.
These implicits were crutches going back to a much Stringier time. Of course "with great type safety comes great verbosity" and no doubt this could be cleaned up significantly further. At least the underpinnings are consistent now - the only implicits involving name should be String -> TypeName and String -> TermName.
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 bfc9f08553..7482e76f4e 100644
--- a/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/ContextErrors.scala
@@ -511,7 +511,7 @@ trait ContextErrors {
NormalTypeError(tree, fun.tpe+" does not take parameters")
// Dynamic
- def DynamicVarArgUnsupported(tree: Tree, name: String) =
+ def DynamicVarArgUnsupported(tree: Tree, name: Name) =
issueNormalTypeError(tree, name+ " does not support passing a vararg parameter")
def DynamicRewriteError(tree: Tree, err: AbsTypeError) = {