Skip to content

Commit

Permalink
SI-5999 removes the macro context mirror
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
xeno-by committed Jul 20, 2012
1 parent dc7cef8 commit 96036b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 45 deletions.
3 changes: 1 addition & 2 deletions src/compiler/scala/reflect/makro/runtime/Context.scala
Expand Up @@ -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
Expand All @@ -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

Expand Down
43 changes: 0 additions & 43 deletions src/compiler/scala/reflect/makro/runtime/Mirrors.scala

This file was deleted.

0 comments on commit 96036b3

Please sign in to comment.