summaryrefslogtreecommitdiff
path: root/src/reflect/scala/reflect/runtime/package.scala
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2014-11-29 04:05:10 +0100
committerSimon Ochsenreither <simon@ochsenreither.de>2015-03-26 03:15:07 +0100
commit86999ed76b5d9df51c337c5e33fe265e04d8f39c (patch)
treef09526ab3075b9c5e9552eb1e564984a64b7df28 /src/reflect/scala/reflect/runtime/package.scala
parente5bfc1c097e8dea9e0643e4a43743196209e9ba8 (diff)
downloadscala-86999ed76b5d9df51c337c5e33fe265e04d8f39c.tar.gz
scala-86999ed76b5d9df51c337c5e33fe265e04d8f39c.tar.bz2
scala-86999ed76b5d9df51c337c5e33fe265e04d8f39c.zip
new{Term,Type}Name→{Term,Type}Name, tpename/nme→{type,term}Names
Diffstat (limited to 'src/reflect/scala/reflect/runtime/package.scala')
-rw-r--r--src/reflect/scala/reflect/runtime/package.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reflect/scala/reflect/runtime/package.scala b/src/reflect/scala/reflect/runtime/package.scala
index e240bed0a7..77eb610a84 100644
--- a/src/reflect/scala/reflect/runtime/package.scala
+++ b/src/reflect/scala/reflect/runtime/package.scala
@@ -30,9 +30,9 @@ package runtime {
import c.universe._
val runtimeClass = c.reifyEnclosingRuntimeClass
if (runtimeClass.isEmpty) c.abort(c.enclosingPosition, "call site does not have an enclosing class")
- val scalaPackage = Select(Ident(newTermName("_root_")), newTermName("scala"))
- val runtimeUniverse = Select(Select(Select(scalaPackage, newTermName("reflect")), newTermName("runtime")), newTermName("universe"))
- val currentMirror = Apply(Select(runtimeUniverse, newTermName("runtimeMirror")), List(Select(runtimeClass, newTermName("getClassLoader"))))
+ val scalaPackage = Select(Ident(TermName("_root_")), TermName("scala"))
+ val runtimeUniverse = Select(Select(Select(scalaPackage, TermName("reflect")), TermName("runtime")), TermName("universe"))
+ val currentMirror = Apply(Select(runtimeUniverse, TermName("runtimeMirror")), List(Select(runtimeClass, TermName("getClassLoader"))))
c.Expr[Nothing](currentMirror)(c.WeakTypeTag.Nothing)
}
}