summaryrefslogtreecommitdiff
path: root/src/reflect/scala/reflect/runtime/package.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-09-16 14:46:14 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-09-16 14:46:14 +0200
commit05be78101c694974ae964bb26b48c1a0b5a372c1 (patch)
tree02972bd11f320a50322289f1dd5b699afb2315ed /src/reflect/scala/reflect/runtime/package.scala
parent33d43db1b83745ac6717de1f7c70a0a07a5a07c7 (diff)
downloadscala-05be78101c694974ae964bb26b48c1a0b5a372c1.tar.gz
scala-05be78101c694974ae964bb26b48c1a0b5a372c1.tar.bz2
scala-05be78101c694974ae964bb26b48c1a0b5a372c1.zip
extinguishes some magic from scalac
First I was quite skeptical about Paul's dislike of names that contain "magic" in them. However when I went through the code and tried to think of "magic"-less alternatives, it became apparent that resulting names are much better than the originals. Therefore I removed all the magic from reflection and macros. Feels good.
Diffstat (limited to 'src/reflect/scala/reflect/runtime/package.scala')
-rw-r--r--src/reflect/scala/reflect/runtime/package.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/reflect/scala/reflect/runtime/package.scala b/src/reflect/scala/reflect/runtime/package.scala
index ccdea3e82d..9703952ee6 100644
--- a/src/reflect/scala/reflect/runtime/package.scala
+++ b/src/reflect/scala/reflect/runtime/package.scala
@@ -5,7 +5,8 @@ package object runtime {
// type is api.JavaUniverse because we only want to expose the `scala.reflect.api.*` subset of reflection
lazy val universe: api.JavaUniverse = new runtime.JavaUniverse
- // implementation magically hardwired to the `currentMirror` method below
+ // implementation hardwired to the `currentMirror` method below
+ // using the mechanism implemented in `scala.tools.reflect.FastTrack`
def currentMirror: universe.Mirror = ??? // macro
}