diff options
author | Paul Phillips <paulp@improving.org> | 2012-01-09 22:57:39 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-01-09 22:57:39 -0800 |
commit | 446273104715cbef37579feefea11c1afdd4dc36 (patch) | |
tree | baa2394fadad02a6426c076f249f6856eeadeb4c | |
parent | daeb8f75ec3db065703d225fdb7f0aca34514333 (diff) | |
download | scala-446273104715cbef37579feefea11c1afdd4dc36.tar.gz scala-446273104715cbef37579feefea11c1afdd4dc36.tar.bz2 scala-446273104715cbef37579feefea11c1afdd4dc36.zip |
Revert "Restored an implicit."
This reverts commit daeb8f75ec3db065703d225fdb7f0aca34514333.
That didn't go well.
-rw-r--r-- | src/compiler/scala/reflect/internal/StdNames.scala | 8 |
1 files changed, 3 insertions, 5 deletions
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 { |