diff options
author | Martin Odersky <odersky@gmail.com> | 2013-05-24 16:37:47 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-05-24 16:39:06 +0200 |
commit | acc2b198692687394c9f8f84b16a0bec9ae12ee3 (patch) | |
tree | f9a9d588a629315aa82ddcee8c285d7614ed3201 /src/dotty/tools/dotc/core/Decorators.scala | |
parent | e1be722f469c45e7546388359b5870a07f4c14b8 (diff) | |
download | dotty-acc2b198692687394c9f8f84b16a0bec9ae12ee3.tar.gz dotty-acc2b198692687394c9f8f84b16a0bec9ae12ee3.tar.bz2 dotty-acc2b198692687394c9f8f84b16a0bec9ae12ee3.zip |
NameTransformer.encode now goes from names to names.
Also, special treatment of <init>, which is not encoded.
Diffstat (limited to 'src/dotty/tools/dotc/core/Decorators.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Decorators.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/Decorators.scala b/src/dotty/tools/dotc/core/Decorators.scala index 5e2da43e5..031974dfd 100644 --- a/src/dotty/tools/dotc/core/Decorators.scala +++ b/src/dotty/tools/dotc/core/Decorators.scala @@ -12,8 +12,6 @@ object Decorators { implicit class StringDecorator(val s: String) extends AnyVal with PreName { def toTypeName: TypeName = typeName(s) def toTermName: TermName = termName(s) - def toEncodedTypeName = encodedTypeName(s) - def toEncodedTermName = encodedTermName(s) def toText(printer: Printer): Text = Str(s) } |