summaryrefslogtreecommitdiff
path: root/sources/scala/tools/nsc/Global.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2005-09-20 17:45:45 +0000
committerMartin Odersky <odersky@gmail.com>2005-09-20 17:45:45 +0000
commit3761cb4b3a1c03f5daa2fac28d19f6f398072ffe (patch)
treeaf915e38284d71f68b9986f7050e0aa5555345f0 /sources/scala/tools/nsc/Global.scala
parenta2231f55a00c96ecf670e0f02ed026c0ff956ecc (diff)
downloadscala-3761cb4b3a1c03f5daa2fac28d19f6f398072ffe.tar.gz
scala-3761cb4b3a1c03f5daa2fac28d19f6f398072ffe.tar.bz2
scala-3761cb4b3a1c03f5daa2fac28d19f6f398072ffe.zip
*** empty log message ***
Diffstat (limited to 'sources/scala/tools/nsc/Global.scala')
-rwxr-xr-xsources/scala/tools/nsc/Global.scala13
1 files changed, 9 insertions, 4 deletions
diff --git a/sources/scala/tools/nsc/Global.scala b/sources/scala/tools/nsc/Global.scala
index a53da84903..30e05a306d 100755
--- a/sources/scala/tools/nsc/Global.scala
+++ b/sources/scala/tools/nsc/Global.scala
@@ -66,6 +66,10 @@ class Global(val settings: Settings, val reporter: Reporter) extends SymbolTable
val global: Global.this.type = Global.this
}
+ object overridingPairs extends OverridingPairs {
+ val global: Global.this.type = Global.this
+ }
+
val copy = new LazyTreeCopier();
type AttrInfo = Pair[Type, List[Any]];
@@ -179,10 +183,11 @@ class Global(val settings: Settings, val reporter: Reporter) extends SymbolTable
val global: Global.this.type = Global.this
}
+/*
object syntheticMethods extends SyntheticMethods {
val global: Global.this.type = Global.this
}
-
+*/
object refchecks extends RefChecks {
val global: Global.this.type = Global.this;
}
@@ -240,10 +245,10 @@ class Global(val settings: Settings, val reporter: Reporter) extends SymbolTable
}
def phaseDescriptors: List[SubComponent] = List(
- analyzer.namerFactory, // needs to be first
- analyzer.typerFactory, // needs to be second
+ analyzer.namerFactory,
+ analyzer.typerFactory,
pickler,
- syntheticMethods,
+// syntheticMethods,
refchecks,
uncurry,
tailCalls,