summaryrefslogtreecommitdiff
path: root/src/compiler/scala/reflect/makro/runtime/Context.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-07-17 15:21:38 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-07-20 10:05:00 +0200
commit96036b35698f735fd0e91aead8085519b5c3ce43 (patch)
tree0a97235423b4f7c578d0f53cb31f772cef1c6e61 /src/compiler/scala/reflect/makro/runtime/Context.scala
parentdc7cef8ad4d5bbc4c7453eb6c137a220ab16f1f1 (diff)
downloadscala-96036b35698f735fd0e91aead8085519b5c3ce43.tar.gz
scala-96036b35698f735fd0e91aead8085519b5c3ce43.tar.bz2
scala-96036b35698f735fd0e91aead8085519b5c3ce43.zip
SI-5999 removes the macro context mirror
It is impossible to enforce macro programmers to use this mirror instead of c.universe.rootMirror, so it has to be let go. As to packageless symbol loading, which was the sole purpose of introducing a special mirror for macro contexts, it will be integrated into the compiler mirror in subsequent commits.
Diffstat (limited to 'src/compiler/scala/reflect/makro/runtime/Context.scala')
-rw-r--r--src/compiler/scala/reflect/makro/runtime/Context.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/reflect/makro/runtime/Context.scala b/src/compiler/scala/reflect/makro/runtime/Context.scala
index c7563e7b67..68964b7abb 100644
--- a/src/compiler/scala/reflect/makro/runtime/Context.scala
+++ b/src/compiler/scala/reflect/makro/runtime/Context.scala
@@ -8,7 +8,6 @@ abstract class Context extends scala.reflect.makro.Context
with CapturedVariables
with Infrastructure
with Enclosures
- with Mirrors
with Names
with Reifiers
with FrontEnds
@@ -23,7 +22,7 @@ abstract class Context extends scala.reflect.makro.Context
val universe: Global
- val mirror: MirrorOf[universe.type] = new ContextMirror
+ val mirror: MirrorOf[universe.type] = universe.rootMirror
val callsiteTyper: universe.analyzer.Typer