diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-07-17 15:21:38 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-07-20 10:05:00 +0200 |
commit | 96036b35698f735fd0e91aead8085519b5c3ce43 (patch) | |
tree | 0a97235423b4f7c578d0f53cb31f772cef1c6e61 /src/compiler/scala/reflect/makro/runtime/Context.scala | |
parent | dc7cef8ad4d5bbc4c7453eb6c137a220ab16f1f1 (diff) | |
download | scala-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.scala | 3 |
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 |