summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Global.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-09-26 09:09:34 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-09-27 15:53:15 +0200
commite74c432fdbce2b3eaaddcba8c733cf7ccc0ee2ed (patch)
tree60d6f731754304ea8a23ea49d076dd7128449df2 /src/compiler/scala/tools/nsc/Global.scala
parent94e280dee6655f9d4242ab5fd1f46c97975c7182 (diff)
downloadscala-e74c432fdbce2b3eaaddcba8c733cf7ccc0ee2ed.tar.gz
scala-e74c432fdbce2b3eaaddcba8c733cf7ccc0ee2ed.tar.bz2
scala-e74c432fdbce2b3eaaddcba8c733cf7ccc0ee2ed.zip
simplifies Context.Run and Context.CompilationUnit
By turning them from abstract types into full-fledged traits implemented by our internal Run and CompilationUnit.
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r--src/compiler/scala/tools/nsc/Global.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala
index 0fbd930ad7..708824ede1 100644
--- a/src/compiler/scala/tools/nsc/Global.scala
+++ b/src/compiler/scala/tools/nsc/Global.scala
@@ -1204,7 +1204,7 @@ class Global(var currentSettings: Settings, var reporter: Reporter)
/** A Run is a single execution of the compiler on a sets of units
*/
- class Run {
+ class Run extends RunContextApi {
/** Have been running into too many init order issues with Run
* during erroneous conditions. Moved all these vals up to the
* top of the file so at least they're not trivially null.