summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2014-01-10 20:28:19 +0100
committerEugene Burmako <xeno.by@gmail.com>2014-01-21 12:24:51 +0300
commit97286d761a5eaf18cc7018aa162866232a87ed91 (patch)
tree1343a6534e5fadd02bfa1b1bf2b67bfa18a7c786 /src/compiler/scala/tools/nsc/typechecker/Contexts.scala
parente089cafb5fd02e2457bafde3252da3a771d3180e (diff)
downloadscala-97286d761a5eaf18cc7018aa162866232a87ed91.tar.gz
scala-97286d761a5eaf18cc7018aa162866232a87ed91.tar.bz2
scala-97286d761a5eaf18cc7018aa162866232a87ed91.zip
moves analyzer.ImportType into scala.reflect.internal
This cute little type is necessary for importers to work correctly. I wonder how we could overlook its existence for almost 2 years.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Contexts.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Contexts.scala5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
index 53bc9a2772..598b12b00d 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
@@ -1353,9 +1353,8 @@ trait Contexts { self: Analyzer =>
override def toString = tree.toString
}
- case class ImportType(expr: Tree) extends Type {
- override def safeToString = "ImportType("+expr+")"
- }
+ type ImportType = global.ImportType
+ val ImportType = global.ImportType
}
object ContextMode {