diff options
author | Martin Odersky <odersky@gmail.com> | 2013-04-19 15:36:22 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-04-19 15:36:53 +0200 |
commit | 4a93c8c132941ff3dae9ebf2dc27b37cd4f7cdec (patch) | |
tree | 851095e9376d26b2624a5676a765d04de3ea87f8 /src/dotty/tools/dotc/core/StdNames.scala | |
parent | 6b58c275293b2c2b0bf3390eaee94ec31bcbdab9 (diff) | |
download | dotty-4a93c8c132941ff3dae9ebf2dc27b37cd4f7cdec.tar.gz dotty-4a93c8c132941ff3dae9ebf2dc27b37cd4f7cdec.tar.bz2 dotty-4a93c8c132941ff3dae9ebf2dc27b37cd4f7cdec.zip |
Added symbolic XML builder
Diffstat (limited to 'src/dotty/tools/dotc/core/StdNames.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/StdNames.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/StdNames.scala b/src/dotty/tools/dotc/core/StdNames.scala index 6e25cdf99..4ef3456df 100644 --- a/src/dotty/tools/dotc/core/StdNames.scala +++ b/src/dotty/tools/dotc/core/StdNames.scala @@ -601,7 +601,7 @@ object StdNames { } class ScalaTermNames extends ScalaNames[TermName] { - protected def fromString(s: String) = termName(s) + protected implicit def fromString(s: String): TermName = termName(s) @switch def syntheticParamName(i: Int): TermName = i match { case 0 => x_0 @@ -627,7 +627,7 @@ object StdNames { } class ScalaTypeNames extends ScalaNames[TypeName] { - protected def fromString(s: String) = typeName(s) + protected implicit def fromString(s: String): TypeName = typeName(s) @switch def syntheticTypeParamName(i: Int): TypeName = typeName("T"+i) |