summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/reflect/internal/StdNames.scala8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/compiler/scala/reflect/internal/StdNames.scala b/src/compiler/scala/reflect/internal/StdNames.scala
index ea5565c581..7a59458e5c 100644
--- a/src/compiler/scala/reflect/internal/StdNames.scala
+++ b/src/compiler/scala/reflect/internal/StdNames.scala
@@ -13,10 +13,12 @@ import annotation.switch
trait StdNames extends NameManglers { self: SymbolTable =>
def encode(str: String): TermName = newTermNameCached(NameTransformer.encode(str))
-
- implicit def lowerTermNames(n: TermName): String = "" + n
- // implicit def stringToTermName(s: String): TermName = newTermName(s)
+ // 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)
/** This should be the first trait in the linearization. */
trait Keywords {