From 446273104715cbef37579feefea11c1afdd4dc36 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Mon, 9 Jan 2012 22:57:39 -0800 Subject: Revert "Restored an implicit." This reverts commit daeb8f75ec3db065703d225fdb7f0aca34514333. That didn't go well. --- src/compiler/scala/reflect/internal/StdNames.scala | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/compiler') diff --git a/src/compiler/scala/reflect/internal/StdNames.scala b/src/compiler/scala/reflect/internal/StdNames.scala index 7a59458e5c..ea5565c581 100644 --- a/src/compiler/scala/reflect/internal/StdNames.scala +++ b/src/compiler/scala/reflect/internal/StdNames.scala @@ -13,12 +13,10 @@ import annotation.switch trait StdNames extends NameManglers { self: SymbolTable => def encode(str: String): TermName = newTermNameCached(NameTransformer.encode(str)) - - // I would like to eventually lose these, or at least create - // some barriers to relying upon them. Maybe I need an annotation - // like @deprecated, but that doesn't @deprecated. @chastise. + implicit def lowerTermNames(n: TermName): String = "" + n - implicit def stringToTermName(s: String): TermName = newTermName(s) + + // implicit def stringToTermName(s: String): TermName = newTermName(s) /** This should be the first trait in the linearization. */ trait Keywords { -- cgit v1.2.3