summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Global.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r--src/compiler/scala/tools/nsc/Global.scala6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala
index 7a42c54158..0a5e23b7d1 100644
--- a/src/compiler/scala/tools/nsc/Global.scala
+++ b/src/compiler/scala/tools/nsc/Global.scala
@@ -16,7 +16,7 @@ import scala.tools.nsc.reporters._
import scala.collection.mutable.{HashSet, HashMap, ListBuffer}
import symtab._
-import symtab.classfile.{PickleBuffer, Pickler}
+import symtab.classfile.{PickleBuffer, Pickler, ICodeReader}
import util.Statistics
import ast._
import ast.parser._
@@ -66,6 +66,10 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable
val global: Global.this.type = Global.this
}
+ object icodeReader extends ICodeReader {
+ val global: Global.this.type = Global.this
+ }
+
object analysis extends TypeFlowAnalysis {
val global: Global.this.type = Global.this
}